ssh-askpass and ssh-agent

Satish Balay balay at fastmail.fm
Tue Jan 4 14:32:00 UTC 2005


On Tue, 4 Jan 2005, Claes Holmerson wrote:

> It is possible to put directories ~/.kde/env and ~/.kde/shutdown where
> files will be sourced at startup and shutdown. There I could put files
> that executed ssh-agent.

ssh-agent is already spawned by some init file - so this part is already
done.

If you need a general way to add the keys to the agent - add 'ssh-add' to
~/.Xclients-default. For eg:

---
$ cat .Xclients-default
#!/bin/bash
# (c) 2001 Red Hat, Inc.

ssh-add < /dev/null
exec fluxbox
exit 1

----

Satish




More information about the users mailing list