6 ms·
and fix up the permissions on ~/.ssh etc. which for me is the #1 case of key based login not working DOH! I just spent the past 15 minutes trying to figure ou
by stuff4ben 17y ago
and fix up the permissions on ~/.ssh etc. which for me is the #1 case of key based login not working
DOH! I just spent the past 15 minutes trying to figure out why it wasn't working until I stumbled upon my .ssh directory having worldly permissions. Was just about to come here and post the same thing. chmod 700 is your friend!
- jerf 17y agossh -vv (with more or fewer vs) is also your friend. IIRC it tells you about the permission error either there or in the sshd log, and you can also find a lot more errors in the -vv output. You should run ssh -vvv on a normal, working connection at least once to get a sense of what normal output is.