You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, this is not really ssh-tunnel related and more a question you should ask in the ssh2 project.
However I like your approach and had a quick look, I will investigate a bit further, if this would be a nice way to test the project.
I advice you to have a look into the following post : mscdex/ssh2#698
There is an working example for an SSH2 server with port forwarding support.
it would be nice to get your feedback once you are done emulating.
I am currently using this module to create an application that connects to the dstHost shown below.
I wanted to write test code to simulate communication at the dstHost, so I wrote the following code:
However, when I execute the above code, the log "Finished" is not displayed and the error "Error: Timed out while waiting for handshake" occurs.
How can I emulate SSH communication without causing errors?
tunnel-ssh:4.0.5
node: v19.6.0
The text was updated successfully, but these errors were encountered: