SSh-agent not dying after vnc viewer
exit/logoff/logout/disconnect
James Weatherall
jnw "at" realvnc.com
Wed Feb 1 14:56:03 2006
Stewart,
I don't know what the original poster was actually trying to describe, but
I'm pretty sure it wasn't to do with ssh client not exiting - it sounded
like some problem with the computer that runs his VNC server.
Cheers,
Wez @ RealVNC Ltd.
> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of S. I. Becker
> Sent: 01 February 2006 13:54
> To: 'Financial Systems & Economic Analytics'; vnc-list "at" realvnc.com
> Subject: Re: SSh-agent not dying after vnc viewer
> exit/logoff/logout/disconnect
>
> > 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
> shell/script 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:
> http://www.realvnc.com/mailman/listinfo/vnc-list