[lug] ssh-askpass

Kevin Fenzi kevin at scrye.com
Fri Feb 28 11:35:32 MST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Hugh" == Hugh Brown <hugh at math.byu.edu> writes:

Hugh> For some time now, I have been using ssh-agent to start up my
Hugh> xsession. I then open up a terminal and do an ssh-add.  I
Hugh> haven't had any problems with it, but I have some users that
Hugh> don't remember to do it and don't want to remember.  they would
Hugh> rather have a little gui pop up and ask them for their ssh
Hugh> password right after they log in.

Hugh> It seems that ssh-askpass (and/or ssh-askpass-gnome) are the
Hugh> little gui tools to use, but I'm not sure what the "right" way
Hugh> is to invoke this on gui start up.

In your .xsession or the like: 

ssh-add < /dev/null

Basically ssh-add will ask the password on your tty, unless you don't
have one and then it will try using the GUI version. 

Hugh> I'd also like to set it up in /etc/skel so that all new users
Hugh> get this behavior by default.

.xsession there might do it. 

Might need .XClients or something with gnome/kde. 

Hugh> I've gone googling and everything seems to say that ssh-askpass
Hugh> will give you an X window interface to ssh-add, but doesn't say
Hugh> what the right way is to call it.

just need to set it so it has no tty associated with it, like the
/dev/null redirection above. 

Hugh> I have discovered that you can pipe stuff to ssh-add (even
Hugh> non-existent commands) under rh8 and it will get the dialog box
Hugh> up, I would just like to know how to do it the right way and to
Hugh> make it the default for all new users created.

yeah... 

Hugh> Thanks,
Hugh> Hugh

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+X6v23imCezTjY0ERAqkDAKCbs0KvoeoYbDi3Lfi3Pev0mIeuygCdEJf8
4LkibnzFXDKM7U/qeWgXORU=
=DPdc
-----END PGP SIGNATURE-----



More information about the LUG mailing list