spmjs / node-scp2

[MAINTAINER WANTED] A pure javascript scp program based on ssh2.
383 stars 96 forks source link

Scp error: Error: Timed out while waiting for handshake #107

Closed select closed 5 years ago

select commented 6 years ago

How would I increase the timeout time, the server on the other side is very slow and I have not control over it.

danielecr commented 5 years ago

as specified in the section https://github.com/spmjs/node-scp2#methods "more on these values at" here: https://github.com/mscdex/ssh2#client-methods

the option name is

readyTimeout, default to 20000 I suggest to use also

debug: console.log

select commented 5 years ago

thanks