Lockdown root

This commit is contained in:
NebulaOnion 2023-01-28 21:41:21 +00:00
parent 50e473127c
commit 527fa73e2a
1 changed files with 4 additions and 4 deletions

View File

@ -29,12 +29,12 @@ Port 7625
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin prohibit-password
PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
#PubkeyAuthentication yes
PubkeyAuthentication yes
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
# but this is overridden so installations will only check .ssh/authorized_keys
@ -55,7 +55,7 @@ AuthorizedKeysFile .ssh/authorized_keys
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no
PermitEmptyPasswords no
# Change to no to disable s/key passwords
KbdInteractiveAuthentication no
@ -103,7 +103,7 @@ PrintMotd no # pam does that
#VersionAddendum none
# no default banner path
#Banner none
Banner none
# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server