This is the mail archive of the
mailing list for the Cygwin project.
Re: SSH session terminates with Ctl+C
- From: Larry Hall <cygwin-lh at cygwin dot com>
- To: Jeff Nokes <jeff_nokes at yahoo dot com>
- Cc: cygwin at cygwin dot com, ehud at unix dot mvs dot co dot il
- Date: Fri, 08 Aug 2003 13:55:27 -0400
- Subject: Re: SSH session terminates with Ctl+C
- References: <firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
Jeff Nokes wrote:
--- Larry Hall <email@example.com> wrote:
Don't know why this would make a difference with one server and not the
other but do you have 'tty' set in your CYGWIN environment? If not, you
might try it. The fact that rxvt doesn't have the problem sounds like
it's a tty thing, though playing around with it here, I still can't
reproduce the behavior you described.
One point I'd like to add to my previous post is that I have since found out
how to get rid of my xauth warning. I tried the advice in the following link
and it worked:
But, even now, while successfully creating ssh sessions that forward X packets
fine, without the xauth warning, a Ctl+C still kills my ssh session. Weird!
I guess the bottom line with my particular issue (in my environment) is that
whenever I forward X packets over ssh in my cygwin bash (cmd.exe) shell, my
local ssh client is trapping the Ctl+C I'm trying to send the remote host.
OK, so here's what happened when I tried setting tty in my cygin bash
(cmd.exe) environment. I set CYGWIN='tty' in my .profile and tried it again.
Don't do that. Set CYGWIN to 'tty' in your environment before starting
Cygwin. See <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>.
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html