This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh takes forever to interrupt-- known problem?


ssh'ing from a cygwin shell to a linux computer,
if I run an output-bound command
(e.g. "yes aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")and I try to kill the command
using ctrl-c, it takes a long time, sometimes several minutes.
I'd love to get this fixed, as it's the one thing
that's preventing me from using cygwin/ssh effectively
as a remote terminal.

The problem occurs in the following situations:
    - cygwin ssh from windows to linux
    - cygwin ssh from windows to localhost
The problem does NOT occur in the following situations:
    - ssh from putty on windows to linux
    - ssh from linux to cygwin sshd on windows
    - ssh from linux to linux

So the problem seems to be unique to the cygwin ssh client.
Is this a known problem?
Any ideas why it would be like this for only this client,
and whether there are any inherent technical difficulties
that would make it hard to fix?

Note there is a post about this behavior on serverfault:
    http://serverfault.com/questions/32159/what-do-you-do-when-a-command-floods-your-terminal-with-too-much-output
although it doesn't mention it being specific to cygwin ssh.

Don


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]