In Ubuntu
sudo nano /etc/ssh/sshd_config
PermitRootLogin prohibit-password to PermitRootLogin yes
PasswordAuthentication no to PasswordAuthentication yes
then, restart ssh service:
sudo service ssh restart
Thanks!
0 comments:
Post a Comment