I have managed to make a test program where i use a TScSSHClient and a TScSSHChannel to forward a local port to a port on the ssh server.
but what i really want to do, is the other way around, so that when client has connected, the server can reach a port on the client machine using a forwarded port.
the idea is that the clients connect to my server, enabling the server to connect to mysql on the clients
offtopic: Isn't there any online docs on the usage of securebridge? If i select a securebridge component/setting and press F1 in Cbuilder 2007 the help system goes haywire
making a ssh tunnel from server to client
Re: making a ssh tunnel from server to client
If I've understood you right, you should use remote port forwarding. You can find information about it in the "SSH-tunnel principles" topic of SecureBridge help.
Also you can download PDF documentation on SecureBridge by the link: http://devart.com/sbridge/securebridgepdf.zip.
To make Help work try to use the regHelp.exe utility.systembook wrote:offtopic: Isn't there any online docs on the usage of securebridge? If i select a securebridge component/setting and press F1 in Cbuilder 2007 the help system goes haywire
Also you can download PDF documentation on SecureBridge by the link: http://devart.com/sbridge/securebridgepdf.zip.