Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 1998 00:05:04 -0500
From:      Jacques Vidrine <n@nectar.com>
To:        John Polstra <jdp@polstra.com>
Cc:        peter@netplex.com.au, committers@freebsd.org
Subject:   Re: Security and other facilities at WC CDROM - the plan. 
Message-ID:  <E0zMmXY-0004uq-00@spawn.nectar.com>
In-Reply-To: <199809260448.VAA10801@austin.polstra.com> 
References:  <199809252052.EAA04519@spinner.netplex.com.au> <199809260448.VAA10801@austin.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

That's what is great about unix... a million ways to do a thing.

How about the following in .xsession or .xinitrc (assuming sh-like
shell):

eval `ssh-agent -s`
ssh-add </dev/null &
my_window_manager
kill $SSH_AGENT_PID

Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org

On 25 September 1998 at 21:48, John Polstra <jdp@polstra.com> wrote:
> In article <199809252052.EAA04519@spinner.netplex.com.au>,
> Peter Wemm  <peter@netplex.com.au> wrote:
> 
> > Or, even more perverse^H^H^H^H^H^H^Hbetter:
> > 
> >   ssh-agent startx
> > 
> > in an xterm window:
> > 
> >   ssh-add
> >   (type your passphrase)
> 
> Even easier:
> 
> Use "startx" the normal way.  At the end of ~/.xinitrc:
> 
>     exec ssh-agent /usr/X11R6/bin/fvwm2
> 
> In ~/.fvwm2rc:
> 
>     AddToFunc InitFunction    "I" Module FvwmButtons 
>     +                         "I" Exec ssh-add < /dev/null
> 
> "ssh-add" will pop up a nice window when you first start X and
> prompt you for your passphrase.  It's all automatic.
> 
> John
> --
>    John Polstra                                       jdp@polstra.com
>    John D. Polstra & Co., Inc.                Seattle, Washington USA
>    "Self-knowledge is always bad news."                 -- John Barth
> 



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNgx2ADeRhT8JRySpAQFdewQAs0A7IcgK1MFZrpuf8pP992ytkJ0Oa9pu
sGdUeNUCHUxg+QsO4ut/2joWVQqqZa2rBZdM4P2G3WCakMIk4E4k2kUBI76i/IJ5
yZA5SxOwrNXuP7voioEWjpmBdpxTewsn1sVGX8hfuyFD3oDwl3QSI58UYoIbu2ns
f5SIv5Y4LAM=
=Bp9/
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0zMmXY-0004uq-00>