Re: root-tail or newer?

Frederick Bruckman (fb@enteract.com)
Tue, 10 Aug 1999 01:42:29 -0500 (CDT)


On Mon, 9 Aug 1999, David Mihm wrote:

> 	This is indeed one method, which will prompt you for info (by
> default).  If you have spent some time reading the various neat things
> about ssh and it's friends, you can also use ssh-agent to log you in
> automagically.  There's no need to use anything like expect or some other
> method for unattented operation.

Exactly. In ~/.xsession, "exec afterstep" -> "exec ssh-agent afterstep".

Now you invoke "ssh-add", type the passphrase for your key when
prompted, and every child of ssh-agent (afterstep) will have access to
your private key. Thus "ssh" will work transparently. When you exit
afterstep, ssh-agent quits too, your session ends, and your key is
once again inaccessible.



--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.calderasystems.com/linuxcenter/forums/afterstep.html