DEV Community

温城
温城

Posted on

 

SSH Password-free login not working

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.

  1. set .ssh directory permission 700
  2. set .ssh/authorized_keys file permission 600
sudo chmod ~/.ssh 700;
sudo chmod ~/.ssh/authorized_keys 600;
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git