Mail Archives: cygwin/2002/09/21/10:35:41
Hello,
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
Win2k.
The problem seems to be occuring when all of the following conditions are
met:
- Must be running under plain bash.exe or cmd.exe
- Must be using ssh protocol v2 (via -2, or set in ssh_config or
~/.ssh/config)
- X11 forwarding must be enabled (either via -X, or in ssh_config or
~/.ssh/config)
- DISPLAY variable must be set
The problem:
- 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
to cygwin.
- occurs even when remote machine's sshd has "X11Forwarding no" set in
sshd_config.
- is independent of the authentication method.
Any ideas?
Cheers,
Arthur
--
Arthur Hon Sey Liu <arthurl AT cse DOT unsw DOT edu DOT au>
School of Computer Science and Engineering
The University of New South Wales
Sydney, Australia
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -