dbexpres and SecureBridge
Posted: Wed 30 Apr 2008 22:06
I am trying to modify some existing applications to provide secure remote access to a database. Not sure if this is the way to go about it, but seems to be working....
On a Delphi Win32 database application connecting from a client to a mysql database on a remote server with Mysql only listining on Localhost and ssh server installed,
I have set up a ssh connection using SecureBridge as follows:
ScFileStorage with the Key file
ScSSHClient
KeyStorage: ScFileStorage
HostName: serverIP
Port:22
User: server user id
password: password
ScSSHChannel
DestHost: localhost
DestPort: 3306
Source Port: 22
Then Using A TSQLConnection (dbexpress)
Using MySQL Direct by CoreLab
Set HostName: localhost:22
username mysql_username
etc.
This seems to work. Can anyone tell me if this is actually a secure connection?
Thanks,
Peter
On a Delphi Win32 database application connecting from a client to a mysql database on a remote server with Mysql only listining on Localhost and ssh server installed,
I have set up a ssh connection using SecureBridge as follows:
ScFileStorage with the Key file
ScSSHClient
KeyStorage: ScFileStorage
HostName: serverIP
Port:22
User: server user id
password: password
ScSSHChannel
DestHost: localhost
DestPort: 3306
Source Port: 22
Then Using A TSQLConnection (dbexpress)
Using MySQL Direct by CoreLab
Set HostName: localhost:22
username mysql_username
etc.
This seems to work. Can anyone tell me if this is actually a secure connection?
Thanks,
Peter