Subject: Re: ssh passphrase question.
To: Todd Vierling <tv@pobox.com>
From: Feico Dillema <dillema@acm.org>
List: netbsd-help
Date: 12/28/1998 19:31:54
Your message dated: Sun, 27 Dec 1998 18:27:59 EST
>On Sun, 27 Dec 1998, Tim Rightnour wrote:
>: Does this work with xdm at all?  Ie: could I run ssh-agent inside the xdm
>: startup, and then ssh-add myself when I log in?
>
>Sure; make ssh-agent a parent of the window manager that you exec at the end
>of .xinitrc.

I do this from my .xsession (.xinitrc):

eval `/usr/pkg/bin/ssh-agent -s`
/usr/pkg/bin/ssh-add </dev/null

The redirect from /dev/null, makes ssh-add pop up a little window asking
for your password instead of using stdin...

Feico.