Richard Lewis richardlewis@fastmail.co.uk wrote: [...]
The bit that I'm stuck with is starting ssh-agent properly. If I run urxvt, for example, under ssh-agent:
$ ssh-agent urxvt
I can't then run ssh-add, it says "Could not open a connection to your authentication agent." Although ps reports that the ssh-agent is running.
[...]
Any ideas why this isn't working?
Can you eval $(ssh-agent -s) and use it that way instead? I have that eval in my Xsession script. I don't remember why I don't use the subprocess method.
I've seen some muttering about the Gnome keyring tool (on planet.debian.org I think) and it's never worked right for me. It also seemed to interfere with ssh-agent. Is it running?
Hope that helps,