PermitRootLogin
Jump to navigation
Jump to search
PermitRootLogin
in /etc/ssh/sshd_config
file
PermitRootLogin prohibit-password
PermitRootLogin yes
Values:
yes, prohibit-password, forced-commands-only, or no.
. Default value isprohibit-password
.
rpl --backup "#PermitRootLogin prohibit-password" "PermitRootLogin yes" /etc/ssh/sshd_config && service ssh restart
PermitRootLogin yes Match User root PasswordAuthentication yes
Related
See also
Advertising: