sshd_config: Don't permit root login.
This commit is contained in:
parent
176444566c
commit
c8f4d18321
@ -63,8 +63,8 @@ LoginGraceTime 120
|
||||
# Specifies whether root can log in using ssh(1).
|
||||
# The default is "yes".
|
||||
#PermitRootLogin yes
|
||||
PermitRootLogin without-password
|
||||
#PermitRootLogin no
|
||||
#PermitRootLogin without-password
|
||||
PermitRootLogin no
|
||||
|
||||
# Specifies whether sshd(8) should check file modes and ownership of the
|
||||
# user's files and home directory before accepting login. This is normally
|
||||
|
Loading…
Reference in New Issue
Block a user