Passwordless login

Passwordless login

Posted by: fantius
Posted on: 2007-01-07 19:37:00

I have followed the instructions at http://wiki.dreamhost.com/index.php/SSH#Windows_PuTTY but I am still being asked for a password when I login. Any ideas?


Re: Passwordless login

Posted by: wholly
Posted on: 2007-01-07 20:25:00

Make sure your permissions are correct. It's the most common cause of failing to automatically logging in.

From the wiki:

chmod go-w ~
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

If those aren't set, ssh assumes that because someone could tamper with them it's not safe.

The other thing to do is make sure that you don't have an extra carriage return in your text.

Wholly

Tags: dreamhostputtywiki