Subject: Re: Direct TCP/IP proxying SSH server

Re: Direct TCP/IP proxying SSH server

From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 5 Dec 2017 23:03:32 +0000

Pan K wrote:
> "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-bin/mailman/listinfo/libssh2-devel
Received on 2017-12-06