Connection to FireBird 3.0 Server on Ubuntu 20.04 using DBeaver through SSH Tunnel
- For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. Select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”.
- Go to the page for downloading DBeaver – Download
- Download the software distribution that is convenient for you, Windows 64 bit installer for example.
- Run the downloaded file and finish the installation process
- Start the DBeaver
- Click on the button to establish the new connection
- In the list that appeared, find and select “Firebird”, then click the “Next” button
- In the “Path” field specify the path to the database located on the VM. For example: /opt/firebird/examples/empbuild/employee.fdb
In the “User Name” field enter the username sysdba and the password masterkey to connect to DB. The other fields in the tab leave with no changes. Changing the password after connecting to the database is strongly recommended.
- Go to the “SSH” tab and tick the “Use SSH tunnel” checkbox
In the “Host/IP” field enter the address of the virtual machine
In the “Username” field enter the username to connect to the VM
In the “Password” field type the password, which was used to connect to the virtual machine before
Click “Finish” to save and establish the connection
- While connecting, the window with the driver files installation may appear. Click “Download”, after that the connection to the database will be continued.
- Your Firebird is ready
- To start and stop the Firebird server mannually you should connect to a VM.
- With OpenSSH
In the Windows 10 operating system (starting with version 1809 ), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a normal Windows command prompt and enter the command “ssh user@*vm_ip*” (1), where “user” is the username that was specified while creating the virtual machine and “*vm_ip*” is the VM IP address.
Then type “Yes” (2) and enter a password (3) that was specified while creating the virtual machine.
- With the PuTTy application
To do this you need the PuTTy application to connect via ssh. You can download it at the following link – Download
Run Putty, enter the VM address in the “Host” field (1) and click “Open” (2) to connect.
In the opened console, you will need to enter a username (1) and password (2) that were specified while the VM was being created (you’ll not see the password in the console while entering it).
- To stop the server, enter the command:
$ sudo systemctl stop firebird-superserver
- To start the server, enter the command:
$ sudo systemctl start firebird-superserver
Now you can easily use your highly functional Firebird Server.