Discussion:
Direct TCP/IP proxying SSH server
Pan K
2017-12-05 16:43:21 UTC
Permalink
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Peter Stuge
2017-12-05 23:03:32 UTC
Permalink
"Must use non-blocking IO hereafter due to the current libssh2 API"
Â
If I understand correctly, this means that direct TCP/IP forwarding
cannot be used to proxy another SSH server that will be connected to
with libssh2 via the forwarded connection. Is this understanding
correct?
No. You can do what you want, but *you* have to ensure that data flows.

Non-blocking is required if you want to do that in a single-threaded
program.


//Peter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi
Pan K via libssh2-devel
2017-12-07 11:22:45 UTC
Permalink
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Loading...