Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

ssh login without typing password

Got problems with Bubba? Then this forum is for you.
Locked
msx
Posts: 106
Joined: 13 Jan 2007, 06:03
Location: Venice
Contact:

ssh login without typing password

Post by msx »

Hi! i log in very often on bubba, and i'd like not to type the password each time.
i tried to arrange ssh in that way, but i filed.

i copied my pc's /home/msx/.ssh/id_rsa.pub on bubba as /home/msx/.ssh/authorized_keys as i found on some howto..

what's wrong?
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Check your permissions on the authorized_keys file. And try to ssh with the -v option to get some info on what fails.

A tip is then to run ssh-agent on your workstation and use that to cache your keys. Don't add a key without a password.

/Tor
Co-founder OpenProducts and Ex Excito Developer
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Post by Ubi »

Also, reading /var/log/messages will help you here.
msx
Posts: 106
Joined: 13 Jan 2007, 06:03
Location: Venice
Contact:

Post by msx »

ok, the problem was with my ~/.ssh directory on bubba, which had the wrong permission (rwxr--r-- instead of rwx------).
i noticed it looking ad /ver/log/auth.log

thanks everybody :)
Locked