You are not logged in.

#1 2007-09-29 11:30:57

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

SSH Agent in GNOME Doesn't Work

Hey There,

I'm using GNOME for my personal desktop needs.. I have to connect to several remote server (or PC's) in a shell and I don't want to re-enter my passwords in the same session. This is my problem:

[14:28] (tunix@penguix ~)$ ps aux |grep ssh
root      6264  0.0  0.0   3756   816 ?        Ss   09:03   0:00 /usr/sbin/sshd
tunix     6457  0.0  0.0   3400   508 ?        Ss   09:05   0:00 /usr/bin/ssh-agent -- /usr/bin/gnome-session
tunix    19141  0.0  0.0   3428   784 pts/2    R+   14:28   0:00 grep ssh
[14:28] (tunix@penguix ~)$ ssh tunix@kulupler
Enter passphrase for key '/home/tunix/.ssh/id_rsa':
Last login: Sat Sep 29 14:22:37 2007 from 85.97.128.179

[14:26] (tunix@kulupler ~)$ logout
Connection to kulupler closed.
[14:28] (tunix@penguix ~)$ ssh tunix@kulupler
Enter passphrase for key '/home/tunix/.ssh/id_rsa':

[14:28] (tunix@penguix ~)$

So SSH Agent doesn't cache or save the passwords I enter.. So I have to enter the password each time. (Maybe this is happening because of the same reason why Seahorse doesn't working on my system.. :S)

Thanks for any replies..


Quis custodiet ipsos custodiet?

Offline

#2 2007-09-29 13:19:35

dschrute
Member
From: NJ, USA
Registered: 2007-04-09
Posts: 183

Re: SSH Agent in GNOME Doesn't Work

Did you run ssh-add to tell ssh-agent which key to use ?  If not, ssh-agent will not know anything about any keys/pass phrases you enter into specific ssh sessions.
There's a pretty good tutorial here, with all the basic steps :
http://mah.everybody.org/docs/ssh

WRT seahorse...
Is seahorse-daemon running ?  I haven't used seahorse, so I only have the following as a reference :
http://live.gnome.org/Seahorse/SSHAgent

Offline

Board footer

Powered by FluxBB