[olug] keychain work for anyone?

Brian Wiese bwiese at cotse.com
Wed Feb 19 04:26:01 UTC 2003


So I'm running keychain, but it's not working - doesn't do anything for
me.  Does it work for anyone else?  To my understanding, when keychain is
run - it asks for your passphrase to your private ssh keys, and will keep
you authenticated as it negotiate future ssh sessions for you that ask for
you to authenticate via said public keys.

It does not do this for me, every ssh connection I attempt after running
keychain still asks for my passphrase every time.  See for yourself... 
I'm running the debian package of keychain and host 'liberty' has my
public key in it's 'authorized_keys' file ... thats why my passphrase
login works...

--------------------------------------------------
bwiese at franklin:~$ keychain /home/bwiese/.ssh/id_rsa

KeyChain 1.9; http://www.gentoo.org/projects/keychain
 Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL
 * All previously running ssh-agent(s) have been stopped.
 * Initializing /home/bwiese/.ssh-agent-franklin file...
 * Initializing /home/bwiese/.ssh-agent-csh-franklin file...
 * Starting new ssh-agent
 * 1 more keys to add...
Enter passphrase for /home/bwiese/.ssh/id_rsa:
Identity added: /home/bwiese/.ssh/id_rsa (/home/bwiese/.ssh/id_rsa)

bwiese at franklin:~$ ssh liberty
Enter passphrase for key '/home/bwiese/.ssh/id_rsa':  <entered passphrase>
Last login: Tue Feb 18 22:16:09 2003 from 192.168.200.232
Have a lot of fun...
bwiese at liberty:~> exit
logout
Connection to liberty closed.
bwiese at franklin:~$ ssh liberty
Enter passphrase for key '/home/bwiese/.ssh/id_rsa':  <had to again>
--------------------------------------------------

ssh-agent seems to work fine though...

--------------------------------------------------
bwiese at franklin:~$ eval `ssh-agent`
Agent pid 24022
bwiese at franklin:~$ ssh-add
Enter passphrase for /home/bwiese/.ssh/id_rsa:
Identity added: /home/bwiese/.ssh/id_rsa (/home/bwiese/.ssh/id_rsa)
bwiese at franklin:~$ ssh liberty
Last login: Tue Feb 18 22:28:49 2003 from 192.168.200.232
Have a lot of fun...
bwiese at liberty:~>
--------------------------------------------------


links...
http://www-106.ibm.com/developerworks/library/l-keyc2/


  Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
------------------------------------------------------
  GnuPG/PGP key 0x1E820A73 | "FREEDOM!" - Braveheart 
------------------------------------------------------  
This is not about Napster or DVDs. It's about your Freedom.
  I'll see your DMCA and raise you a First Amendment.
              http://www.anti-dmca.org



More information about the OLUG mailing list