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