OpenSSH, Cygwin, eXceed, and SIGINT

Gert Doering gert at greenie.muc.de
Thu Jun 28 07:36:27 EST 2001


Hi,

On Wed, Jun 27, 2001 at 01:48:43PM -0400, Scott Crosby wrote:
> 	When logging into an HP-UX 10.2 system from a Windows NT machine
> running Cygwin and openssh 2.9p2, control-c sends a sigint to the ssh client
> on the NT system, thus killing the ssh process.  Interestingly enough, this
> behavior is only observed when using X11 forwarding.  I can eliminate the
> behavior by changing clientloop.c to ignore SIGINT (signal(SIGINT, SIG_IGN)
> ) but then I'm bak to the old behavior of the remote shell ignoring SIGINT.

If the client were running on a unix machine, I'd say that the "ISIG" and/or
"ICANON" flags of the tty control structure are not cleared (thus making
the local terminal handler interpret ctrl-c and generate a SIGINT).

As this is Cygwin, I have no idea, never used this, and I have no idea
whether they have POSIX tty "things" (POSIX termios structure, and
underlying logic).

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert.doering at physik.tu-muenchen.de



More information about the openssh-unix-dev mailing list