Walt Mankowski on 26 May 2004 17:52:02 -0000


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

Re: [PLUG] ssh oddity (continued)


On Wed, May 26, 2004 at 12:51:35PM -0400, Dan Widyono wrote:
> >     ssh-reagent ()
> 
> That works for different concurrent logins, but not if you logout (and thus
> kill your session, thus killing the ssh-agent) and log back in.  keychain
> essentially keeps ssh-agent running throughout the period of boot to
> shutdown.

ssh-agent only stops when you logout if you started it with an
optional command, e.g.

  $ ssh-agent zsh

in which case it's not really stopping when you logout, it's stopping
when you terminate the command you told it to run (zsh in this case).

If you run ssh-agent without that command:

  $ ssh-agent

it won't stop when you logout.

Walt

Attachment: signature.asc
Description: Digital signature