different SSH/keychain behavior on Fedora Core 4?

Kanwar Ranbir Sandhu m3freak at rogers.com
Tue Sep 13 15:47:54 UTC 2005


[Whoops - sent this to the list with the wrong email account]

I've sent this to the list as well.

On Mon, 2005-12-09 at 11:08 -0700, Cameron Mura wrote:
> I tried the updated keychain RPM mentioned in Alexander Dalloz's post 
> (https://www.redhat.com/archives/fedora-list/2005-August/msg03324.html), 
> but still I am queried for a passphrase when ssh'ing from my FC4 machine 
> to a remote box.  Sorry to bother you, but is there anything else you 
> did besides install this RPM and "touch ~/.keychainrc" ??

Yeah, I finally gave it a shot yesterday morning, and I experienced the
same problem.  I read the man page, and as far as I can tell, I'm using
Keychain correctly.  It should be caching the passphrase, but it isn't.

I went back to the thread I originally started about this, and in one of
Alexander's replies, he mentions a keychain.sh file in /etc/profile.d.
Fire up that file: you'll find that a ~/.keychainrc file is sourced.

In ~/.keychainrc, type your keychain config from ~/.bash_profile, minus
the part concerning the ~/.keychain dir setup.  For example,  I have
this in ~/.keychainrc:

keychain id_dsa

Now when I login and fire up a Gnome Terminal, Keychain starts, detects
a running ssh-agent and the cached key.  I can then login without being
prompted for the passphrase, just as before.

Give that a try: it should work.

Regards,

Ranbir

-- 
Kanwar Ranbir Sandhu
Systems Aligned Inc.
www.systemsaligned.com




More information about the users mailing list