Skip to content
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

Fix delay in case of ssh's ConnectTimeout option usage #457

Open
wants to merge 3 commits into
base: latestw_all
from

Conversation

@kuhanov
Copy link

@kuhanov kuhanov commented Jul 30, 2020

I have timeout degradation in case of powershell version usage
For example, ConnectionTimeout=5 produces 5 sec delay in any case.
ssh -o BatchMode=yes -o ServerAliveInterval=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=5 user@target uname
In real connection takes about 200ms
As I can see, https://github.com/openssh/openssh-portable includes fix for that, Let's apply patch here.
Thanks, Kirill

I have timeout degradation in case of powershell version usage 
For example, ConnectionTimeout=5 produces 5 sec delay in any case.
ssh -o BatchMode=yes -o ServerAliveInterval=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=5 user@target uname
In real connection takes about 200ms
As I can see, https://github.com/openssh/openssh-portable includes fix for that, Let's apply patch here.
Thanks, Kirill
@microsoft-cla
Copy link

@microsoft-cla microsoft-cla bot commented Jul 30, 2020

CLA assistant check
All CLA requirements met.

kuhanov added 2 commits Jul 30, 2020
fix typo
fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.