Displaying 1 result from an estimated 1 matches for "_detects_".
2010 Apr 21
2
prototype of simple NX client with auto-resuming ssh session
...Run
(with an _n_ below)
Start server on the remote host by typing ./server &
Now do:
./nxssh hostname
If you killall client on the remote end, it reconnects "seamlessly" (I am using this to simulate ServerAliveInterval).
However, if I do this from _within_ the nxclient program it _detects_ my disconnect even though the thread is still running (I believe).
Any ideas?
Thank you
Misha
p.s. Also right now I have functionality to spawn the server directly from the client, but somehow the signal(SIGHUP,SIG_HUP) command causes _both_ the server and client to ignore SIGHUP, even though it...