System:Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-47-generic x86_64)
if you added publish key but password-free login still not working maybe you directory permission error.
- set .ssh directory permission 700
- set .ssh/authorized_keys file permission 600
sudo chmod ~/.ssh 700;
sudo chmod ~/.ssh/authorized_keys 600;
Top comments (0)