This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH session terminates with Ctl+C

Jeff Nokes wrote:

--- Larry Hall <> 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.


Hi Larry, 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 <>.

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]