Monday, June 24, 2019

Error Permission denied (publickey) when I try to ssh after generating rsa key

Leave a Comment
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!
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment