Archived Forum Post

Index of archived forum posts

Question:

SSH remote port forwarding

Sep 14 '12 at 08:42

Hello

Is it possible to implement, and how, remote host port forwarding with CkSsh/CkSshTunnel?

Thanks, Balazs


Answer

See http://www.example-code.com/vcpp/ssh-tunnel.asp


Answer

Hello The examples are about local port forwarding, and that one it works. However I am interested in remote port forwarding, also known as "server side connection". Just to clear confusion on how I understood port forwarding on SSH tunnels: - local port forwarding: TCP server is running on same host as SSH server; TCP client on SSH client is able to connect to remote TCP server as it would be on client (see command -L for openSSH). - remote port forwarding: the other way around, TCP server is on SSH client, TCP client on SSH server is able to connect to TCP server as it would be on SSH server side (see command -R for openSSH). See the descriptions at http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1

So, my question is still valid....

Thanks, Regards, Balazs


Answer

CkSsh/CkSshTunnel does not yet support remote port forwarding (also known as a reverse SSH tunnel). This is a feature planned for a future version.