SSH server: disable root login








edit /etc/ssh/sshd_config:
sudo vi /etc/ssh/sshd_config
comment out the following line:
#PermitRootLogin no
restart ssh server:
/etc/init.d/ssh restart



No comments:

Post a Comment