Disallow root login over ssh
This commit is contained in:
parent
bb865f6244
commit
4a2b5ffc39
|
@ -4,6 +4,7 @@ StreamLocalBindUnlink yes
|
|||
X11Forwarding yes
|
||||
AuthorizedKeysFile .ssh/authorized_keys
|
||||
PasswordAuthentication no
|
||||
PermitRootLogin no
|
||||
ChallengeResponseAuthentication no
|
||||
UsePAM yes
|
||||
PrintMotd no # pam does that
|
||||
|
|
Loading…
Reference in a new issue