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).
|
# Specifies whether root can log in using ssh(1).
|
||||||
# The default is "yes".
|
# The default is "yes".
|
||||||
#PermitRootLogin yes
|
#PermitRootLogin yes
|
||||||
PermitRootLogin without-password
|
#PermitRootLogin without-password
|
||||||
#PermitRootLogin no
|
PermitRootLogin no
|
||||||
|
|
||||||
# Specifies whether sshd(8) should check file modes and ownership of the
|
# Specifies whether sshd(8) should check file modes and ownership of the
|
||||||
# user's files and home directory before accepting login. This is normally
|
# user's files and home directory before accepting login. This is normally
|
||||||
|
Loading…
Reference in New Issue
Block a user