Saturday, November 06, 2010

Securing #Firebird using #Ssh tunnel

there is a very easy way to do a secure connection with firebird

create a ssh tunnel to  FirebirdRemoteHost
add in .ssh/config

host FirebirdRemoteHost
  LocalForward 3050 127.0.0.1:3050

Then when you do ssh FirebirdRemoteHost a ssh tunnel is created
between your machine to remote firebird server

so port 3050 is tunneled to remote host and  when you connect to localhost 3050 you will connect in fact
to the remote host (127.0.0.1 is local address on that machine) and the port 3050

In flamerobin you can work on it like on local machine server installation


if you have already a firebird installation on your local workstation then is good to put another port for the tunnel

LocalForward 3051 127.0.0.1:3050

No comments: