[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssh-add automagically started
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: ssh-add automagically started
- From: Pedro la Peu <pedro_(_at_)_ironchicken_(_dot_)_am-gen_(_dot_)_org>
- Date: Sat, 31 Aug 2002 21:16:25 +0100 (BST)
On Sat, 31 Aug 2002, Volker Kindermann wrote:
> I just discovered a great (little) feature of OpenBSD. I'm running it
> on a notebook (together with FreeBSD) and I'm starting the X-Server via
> xdm (BTW, very nice login-graphic).
> If I start the window-manager (fluxbox) as an option to ssh-agent and
> if I have a keypair in ~/.ssh/ it magically starts ssh-add after
> logging in. This is great but I didn't found out how to replicate this
> great feature on other OS (resp. FreeBSD)?
>
> Any hints would be fine.
I do this in ~/.xinitrc AFAIK it should work in ~/.xsession too:
$ cat .xinitrc
eval `ssh-agent`
xset r rate 400 80
xset dpms 300 300 600
ssh-add < /dev/null
/usr/local/bin/blackbox
ssh-agent -k
-pedro
Visit your host, monkey.org