This is the mail archive of the
mailing list for the Cygwin project.
Re: ssh -X Protocol 2 fails to pass Ctrl-C
- From: Arthur Hon Sey Liu <arthurl at cse dot unsw dot EDU dot AU>
- To: cygwin at cygwin dot com
- Cc: pechtcha at cs dot nyu dot dot dot edu, <buschelm at mcs dot anl dot gov>
- Date: Sun, 22 Sep 2002 00:35:31 +1000 (EST)
- Subject: Re: ssh -X Protocol 2 fails to pass Ctrl-C
On Wed, 31 Jul 2002, Kristopher R. Buschelman wrote:
> When I use X11 forwarding and ssh to a linux machine under protocol 2,
> Ctrl-C is not properly passed through to the remote machine, and my ssh
> session is terminated. The error message is:
> Killed by signal 2.
I have this problem as well.
On Thu, 1 Aug 2002, Igor Pechtchanski wrote:
> I'm not able to reproduce this problem. I use cygwin 1.3.12-2 on Win2k,
> `ssh -V`="OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090604f". I
> tried to connect to a RedHat Linux 7.3, `uname -a`="Linux
> floodgate.internal.net 2.4.18-3 #1 Thu Apr 18 07:31:07 EDT 2002 i586
> unknown" using "ssh -2 -X floodgate.internal.net". Ctrl-C is passed
> through with no problems to the bash prompt, as well as to cat and ls.
I am able to reproduce this problem running cygwin 1.3.12 on WinXP and
The problem seems to be occuring when all of the following conditions are
- Must be running under plain bash.exe or cmd.exe
- Must be using ssh protocol v2 (via -2, or set in ssh_config or
- X11 forwarding must be enabled (either via -X, or in ssh_config or
- DISPLAY variable must be set
- ssh is killed regardless of the state of the remote connection - it
seems to be local. ssh is killed when ctrl-c is pressed.
- does not occur when ssh is run under xterm or rxvt, even if TERM is set
- occurs even when remote machine's sshd has "X11Forwarding no" set in
- is independent of the authentication method.
Arthur Hon Sey Liu <firstname.lastname@example.org>
School of Computer Science and Engineering
The University of New South Wales
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html