[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh-add automagically started

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
ssh-agent -k


Visit your host, monkey.org