On Wednesday 15 June 2005 17:13, Arvin Schnell wrote:
On Wed, Jun 15, 2005 at 03:47:05PM +0100, Hamish wrote:
Hello I have just upgraded to 9.3 and ive been really impressed so far, just a few bits to iron out now. In 9.2 I was able to run ssh-add and be asked for my passphrase for my key, once I put it in, I could open up konsoles to different servers without being asked for my key again. This seems to be broken now, as it only "remembers" the passphrase in the same konsole it was started in. Has anyone got this working properly? Any hints appreciated,
Sure you start the ssh-agent correctly? The environment variables (SSH_AGENT_PID and SSH_AUTH_SOCK) it outputs must be inherited in every shell where you want to use ssh.
ciao Arvin
This was the problem, that the agent needs to be started as the parent: I found that by adding: eval `ssh-agent -s` ssh-add ~/.ssh/identity ~/.ssh/id_dsa to my .xinitrc file (copied from .xinitrc.template) it works fine, I now get ssh-askpass asking me for my passphrase each time I log in. (although I could have left that line out and done it manually i suppose) I put a page on susewiki for anyone who wants to do the same http://www.susewiki.org/index.php?title=SSH-agent Thanks, H