Alexandre Vassalotti <alexandre <at> peadrop.com> writes:

> 
> On Wed, Mar 3, 2010 at 5:32 PM, Vinay Sajip wrote:
> > I've installed Keychain and invoked it in my .bashrc, and whenever I open a
> > terminal session, it tells me that it found an existing ssh-agent and the
> > SSH_AUTH_SOCK and SSH_AGENT_PID seem to be correct.
> 
> Are you using Ubuntu? If so, Seahorse (the default key manager in
> Ubuntu) should prompt you automatically for your passphrase and cache
> it.  Keychain might be interfering with it, so try to uninstall it
> first. Then verify in Applications → Accessories → Passwords and
> Encryption Keys that Seahorse sees your SSH key.
> 
> I hope that helps,
> 

Alexandre,

Thanks for the response. Yes, I'm on Ubuntu Jaunty, and at least part of the
problem seems to be that Seahorse can't import a key originally generated by
PuTTYgen. There's a bug in Ubuntu about it:

https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/252288

which was posted upstream to Gnome as

http://bugzilla.gnome.org/show_bug.cgi?id=551016

but marked as wontfix there because a Seahorse developer said "I believe
importing of SSH keys is possible now." Well, I wouldn't agree with that :-(

In any case, isn't the remembering of passphrases ssh-agent's job? I
uninstalled Keychain, rebooted and logged in. I've verified that ssh-agent is
running, and explicitly added the key using ssh-add. It still prompts for a
passhprase when I wouldn't expect it to:

vi...@eta-jaunty:~$ ssh-add -l
2048 [fingerprint removed] vi...@eta-jaunty (RSA)
vi...@eta-jaunty:~$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/vinay/.ssh/id_rsa: 
Identity added: /home/vinay/.ssh/id_rsa (/home/vinay/.ssh/id_rsa)
vi...@eta-jaunty:~$ ssh-add -l
2048 [fingerprint removed] vi...@eta-jaunty (RSA)
1023 [fingerprint removed] /home/vinay/.ssh/id_rsa (RSA)
vi...@eta-jaunty:~$ cd projects/python
vi...@eta-jaunty:~/projects/python$ svn up
Enter passphrase for key '/home/vinay/.ssh/id_rsa': 
At revision 78645.
vi...@eta-jaunty:~/projects/python$

The initial "vi...@eta-jaunty" key is an SSH key I created for use with
Launchpad, using Seahorse, and it shows this key in its UI - but not the
PuTTYgen-created key.

Regards,

Vinay Sajip

_______________________________________________
python-committers mailing list
python-committers@python.org
http://mail.python.org/mailman/listinfo/python-committers

Reply via email to