Steven Van Ingelgem wrote: > I have been looking on how to encrypt an existing TCP stream > through libssh2, but I seem not to be able to find one?
I don't know what you mean by "existing" - that implies trying to splice an established TCP connection in some way, and there isn't really any library for that anywhere, except maybe in Dan Kaminsky's home directory. Check what libssh2_channel_direct_tcpip() does. Maybe it works for you. There is more that can be done with TCP in SSH2 than what is implemented in libssh2 so please send patches if you improve the library. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
