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

Add readyTimeout option to sftp #63

Closed
lojzatran opened this issue Aug 23, 2019 · 0 comments · Fixed by #64
Closed

Add readyTimeout option to sftp #63

lojzatran opened this issue Aug 23, 2019 · 0 comments · Fixed by #64

Comments

@lojzatran
Copy link
Contributor

lojzatran commented Aug 23, 2019

Description

In our tests, sometimes we receive Timed out while waiting for handshake error in ssh2 client. I want to add the option readyTimeout to make the timeout longer for sftp as the default is 20 seconds (see https://www.npmjs.com/package/ssh2).

This is the part of code where the error is being thrown:
https://github.com/mscdex/ssh2/blob/bcb32bc282e601ab04592f6b7a7d0bd7ed616555/lib/client.js#L693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant