Page 1 of 1
Client <-> Server <-> MySQL Server
Posted: Wed 20 Jun 2007 19:34
by teunis
Is the following possible
There is a server (server1) with sshd running.
In a internal network, a MySQL server (server2) is connected with server1
The Server1 - Server2 connection doesn't need to be protected
Program on a client computer:
(Sc)SSHClient.HostName:= server1
MyConnection.Server:= server2
MyConnection.port:= 3306
MyConnection.IOHandler:= MySSHIOHandler
MySSHIOHandler.Client:= SSHClient.
So server1 is only used for login, crypting and decrypting
Would be nice. Thanks for your attention

Posted: Wed 27 Jun 2007 14:34
by teunis
I am desperately waiting for a comment.
I thought one feature of SSH is to forward not only to a port but
also to an IP address.
In that way a computer on LAN I can via internet connect secure to
a computer on LAN II (Wrong / Right ?)

Re: Client <-> Server <-> MySQL Server
Posted: Mon 02 Jul 2007 07:53
by Dimon
teunis wrote:Is the following possible
There is a server (server1) with sshd running.
In a internal network, a MySQL server (server2) is connected with server1
The Server1 - Server2 connection doesn't need to be protected
Program on a client computer:
(Sc)SSHClient.HostName:= server1
MyConnection.Server:= server2
MyConnection.port:= 3306
MyConnection.IOHandler:= MySSHIOHandler
MySSHIOHandler.Client:= SSHClient.
So server1 is only used for login, crypting and decrypting
Would be nice. Thanks for your attention

Yes, it is possible. You specified the connecting parameters properly.
Posted: Mon 02 Jul 2007 07:55
by Dimon
teunis wrote:I thought one feature of SSH is to forward not only to a port but
also to an IP address.
In that way a computer on LAN I can via internet connect secure to
a computer on LAN II (Wrong / Right ?)
If the SSH server is located on a computer on LAN 2, which you need to connect to, you should specify the IP address of this computer in the HostName property of ScSSHClient.
If the SSH server is located on the server in LAN 2, specify the server IP address in the ScSSHClient.HostName property, and the IP address or name of a computer on LAN 2, which you need to connect to, in the ScSSHChannel.DestHost property.