spmjs / node-scp2

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

How to alter timeout? #47

Open adonespitogo opened 8 years ago

adonespitogo commented 8 years ago
[14:41:42] 'js:upload' errored after 10 s
[14:41:42] Error: Timed out while waiting for handshake
  at [object Object]._onTimeout (/home/adones/Projects/chaipcr/node_modules/scp2/node_modules/ssh2/lib/Connection.js:232:17)
  at Timer.listOnTimeout (timers.js:119:15)
airbenich commented 8 years ago

Is there a solution for this problem? And why does this happen? I have the same problem.

airbenich commented 8 years ago

Okay i found a solution: The appears because of the old ssh2 package that is included in this module. Update the included module via npm and the timeout is gone.

joseluisq commented 7 years ago

Does any news about that?

airbenich commented 7 years ago

include a newer ssh2 version in the packages.json, updated view nom and it will work

joseluisq commented 7 years ago

Fine thanks. Does appear that scp2 is a little bit forgotten?