Prevent direct root logins via SSH
=========
Edit /etc/ssh/sshd_config.
Search for "#PermitRootLogin yes" *If this line does not begin with a "#" add one.
Add below this line "PermitRootLogin no"
Restart sshd (service sshd restart)
=========
Edit /etc/ssh/sshd_config.
Search for "#PermitRootLogin yes" *If this line does not begin with a "#" add one.
Add below this line "PermitRootLogin no"
Restart sshd (service sshd restart)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.