-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTRL+C won't interrupt SSH client attempting to connect to a non answering host #2220
Comments
won't interrupt traceroute neither. Maybe something socket related... |
what about
in ssh? |
doesn't work more... ssh omartin@DESKTOP-10OCDI0:~$ ssh user@1.2.3.4 omartin@DESKTOP-10OCDI0:~$ |
@omartin2010 - Thanks for your post. You were correct with your statement |
Ok, thanks!
From: Sunil Muthuswamy [mailto:notifications@github.com]
Sent: Thursday, June 15, 2017 13:22
To: Microsoft/BashOnWindows <BashOnWindows@noreply.github.com>
Cc: Olivier Martin <omartin@live.ca>; Mention <mention@noreply.github.com>
Subject: Re: [Microsoft/BashOnWindows] CTRL+C won't interrupt SSH client attempting to connect to a non answering host (#2220)
@omartin2010<https://github.com/omartin2010> - Thanks for your post. You were correct with your statement Maybe something socket related. The issue was that the connect socket syscall was not-interruptable. That was fixed sometime back, but after Creators Update (build 15063). I tried it on the latest Insider build 16215 and it seems to be fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#2220 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AK2FXmCT5IgaEt-Y9QTPsx3-4JnSmdAJks5sEWhCgaJpZM4N6sof>.
|
@sunilmut - Are there other syscalls that are known to have this limitation? I am still having trouble breaking |
@therealkenc - We are not aware of any other syscall that has this limitation. Though confirming that would require a full pass over the code. In your scenario:
|
Completely reproducible, but not under a sanctioned WSL use-case, which is why I haven't opened a new github issue. It's a |
Yeah almost certainly a " |
Simply trying to ssh to a host that doesn't exist and trying CTRL+C to avoid having to wait until timeout happens... which doesn't work as it does on a regular linux Ubuntu.
omartin@DESKTOP-10OCDI0:~$ ssh toto@123.123.123.13
^C^C^C^C^C
I'm running build 15063.413 with 16.04 Ubuntu... I tried to look into the opened issues, it doesn't seem to be there.
The text was updated successfully, but these errors were encountered: