ssh fails silently on key authentication

Jan 20
2010

If it happens that only root (or no one) can use key authentication, most probably the permissions are wrong. Check the following permissions:

ls -ld ~/.ssh | awk '{print $1}'
# should return drwx------
# otherwise: chmod 0700 ~/.ssh

Leave a Reply

Calendar

January 2010
M T W T F S S
« Dec   Feb »
 123
45678910
11121314151617
18192021222324
25262728293031

Tags