This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 'screen' dies when ssh session to cygwin disconnected
- From: David Rothenberger <daveroth at acm dot org>
- To: cygwin at cygwin dot com
- Date: Sun, 05 Feb 2012 12:26:57 -0800
- Subject: Re: 'screen' dies when ssh session to cygwin disconnected
- References: <4F2E41BD.1000203@nokia.com>
- Reply-to: cygwin at cygwin dot com
On 2/5/2012 12:45 AM, Ilya Dogolazky wrote:
> STEPS LEADING TO PROBLEM:
>
> 1. Open a command line window in Windows (the standard one or rxvt: I
> tried both: no difference), then either detach from the session or not
> (I tried both: no difference)
>
> 2. Connect to the Windows machine from a linux machine as follows:
> ssh win_host -t screen -R -D (instead of "-R -D" the option "-x" could
> be used, I tried both: no difference)
>
> 3. After a while terminate the connection in some brutal way (in my case
> the vpn tunnel to the private company network is pretty unstable and
> terminating from itself frequently)
A work-around is to send the parent screen process a HUP signal. You
should then be able to reattach.
--
David Rothenberger ---- daveroth@acm.org
algorithm, n.:
Trendy dance for hip programmers.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple