SSH server settings are stored in the /etc/ssh/sshd_config file. To disable root logins, make sure you have the following entry:
# vim /etc/ssh/sshd_config
# Prevent root logins:
PermitRootLogin no
Restart the sshd service:
# /bin/systemctl restart sshd.service
Wednesday, November 12, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment