sign inHome | Recent Changes | All Pages | HelpSearch:

SSH Login without password

Basic ssh-keygen and ssh-agent instructions are here. (These are only really help for those on a Unix-based OS, Windows users can use Putty’s keygen abilities, but that may just lead to extreme hair pulling. This finally saved my day).

The primary problem most people seem to find when setting this up is that sshd has some stringent permissions requirements.

So, execute these commands on the server after you’ve created your authorized_keys file:

$ cd ~ 
$ chmod 700 .ssh
$ chmod 600 .ssh/authorized_keys
$ chmod 750 ~

Powered by JunebugWiki v0.0.28 Last edited by mr_speck on August 31, 2007 01:58 AM (diff)
Version 3 (current) «olderversions