SSh-agent not dying after vnc viewer
jnw "at" realvnc.com
Wed Feb 1 15:50:01 2006
You didn't mention anything about running SSH earlier. That would probab;y
explain why you're getting ssh-agent processes running. You probably want
to configure your SSH client not to use ssh-agent, since it appears not to
be terminating itself.
Wez @ RealVNC Ltd.
> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Financial
> Systems & Economic Analytics
> Sent: 01 February 2006 15:01
> To: S. I. Becker
> Cc: vnc-list "at" realvnc.com
> Subject: Re: SSh-agent not dying after vnc viewer
> On my system, I am using xinetd following the vnc mail list example.
> When is the ssh getting call when a vnc session starts?
> How to I set up a script or set the ssh session to die after a short
> time (say 60 secs)?
> Thank you
> S. I. Becker wrote:
> >> Stewart,
> >> Ssh clients hold the connection open so long as there is something
> >> using it,
> >> in this case a forwarded port. There's no way that the
> client could
> >> exit
> >> without causing the forwarded port to close, too.
> > James,
> > That's the point! You initiate the ssh session, with a
> > that will just exit after, say, 60 seconds. In the mean
> time you set
> > up the tunnelled VNC session. The ssh session exits when
> the time is
> > up, but is held open by the open tunnelled port(s). Then
> when you do
> > close the VNC session, the ssh session closes too because
> there is now
> > nothing to keep it open, which is what I thought was wanted.
> > Stewart
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit: