-
Notifications
You must be signed in to change notification settings - Fork 663
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
Question: how to make gulp-ssh compatible with ssh2 #1384
Comments
Judging by the debug output it looks like the socket isn't connecting at all. The default |
Thanks for the reply. I alredy tried to increase the readyTimeout, with no luck. Actually, it immediately failed to connect, and doesn't seem related to that variable. |
If it's immediately failing with a timeout message then that's something in node itself. Make sure you're specifying
Not really. Like I said, if the socket isn't even connecting then there's not much that can be done. If you have access to the remote server you could look to see if there is a firewall or IDS or other security software blocking the connections. |
Already tried :(
I don't have access but I strongly doubt it's server related. With nodejs 19.9 it works, with nodejs >= 20 it doesn't. Seems strange, but I don't know anything about nodejs. Thanks for trying to help anyway. |
You can try filing an issue on the node repo and see if they can help. |
Hi,
I'm a gulp-ssh user but unfortunately the package was abandonned a while ago. Gulp-ssh relies on ssh2 package. I don't understand javascript in general, so I'm trying to get info here to see if I can fix gulp-ssh.
With nodejs <= 19.9, I face no error when copying my files to my ssh server. When updating nodejs > 19.9 (so v20 and above), it randomly crashes for what it seems to be handshake-related. 90% of the uploads fail, I would say.
Here is the log when it fails, using "debug: console.log" in the config:
and when it succeeds:
I posted the specific gulp-ssh error there.
Anyone up to help me fix the gulp-ssh package? I know nothing about javascript... and got lost in trying to fix it myself.
The text was updated successfully, but these errors were encountered: