Control-C handling from the ssh client

William.Young@bpd.treas.gov William.Young@bpd.treas.gov
Mon Jan 13 03:04:00 GMT 2003


When I make an ssh client connection from the bash shell to another UNIX 
host, then want to cancel a running foreground command executing on the 
UNIX host (such as find / -print), I cannot use the Control-C key 
combination to kill the command on the UNIX host.  When I press Control-C 
on my client I get the message "Killed by signal 2."  Thus Control-C kills 
the local ssh process instead of the passing Control-C on to the UNIX 
host.  Is this expected and is there a way to change this behavior?  Is 
this a bash behavior or an openssh behavior?

Bill Young
Email:  william.young@bpd.treas.gov

--
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/



More information about the Cygwin mailing list