SSH session terminates with Ctl+C
Larry Hall
cygwin-lh@cygwin.com
Fri Aug 8 18:18:00 GMT 2003
Jeff Nokes wrote:
> --- Larry Hall <cygwin-lh@cygwin.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.
>>
>>Larry
>
>
>
> 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:
>
> http://sources.redhat.com/ml/cygwin-xfree/2003-06/msg00245.html
>
> 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
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list