Hi ALUG,
I'm trying to get ssh-agent to work properly so that I can have passwordless ssh.
I've got my public key in the authorized_keys files on the relevant remote machines, and I can log in to them by just unlocking my key OK.
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.
The next thing I can't do is get ssh-agent to start my Fluxbox session. In /etc/X11/Xsession.options I have have "use-ssh-agent" (which I think is a default anyway). But I don't have any ssh-agent process running, and ssh-add reports the same error as above for a shell running under Fluxbox.
(My /etc/X11/Xsession.options also has "use-session-dbus" and it seems that dbus works OK; I have a process called /usr/bin/dbus-launch --exit-with-session /usr/bin/startfluxbox. That's not exactly related, but I guess it's kind of similar.)
Any ideas why this isn't working?
Cheers, Richard