Joe, 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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Financial > Systems & Economic Analytics > Sent: 01 February 2006 15:01 > To: S. I. Becker > Cc: [email protected] > Subject: Re: SSh-agent not dying after vnc viewer > exit/logoff/logout/disconnect > > On my system, I am using xinetd following the vnc mail list example. > > So, > 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 > Joe > > > 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 > 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 > [email protected] > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
