-- Drupal and Web Development

Notice: this post was last updated 3 years 40 weeks ago so it might be outdated. Please be cautious before implementing any of suggestions herein.

SSH key authentication permission scheme

SSH key authentication will not work unless your files, on your server, have the following permission scheme:

ls -lah ~/.ssh
drwx------  2 root root 4.0K Oct  2 11:39 .
-rw-r-----  1 root root  17K Oct  2 11:39 authorized_keys