Connection to Firebird on Debian 11 Server 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 (1), specify the path to the database located on the VM. For example: /opt/firebird/examples/empbuild/employee.fdb
In the “User Name” field (2), enter the username sysdba and the password masterkey (3) 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” (1) tab and tick the “Use SSH tunnel” (2) checkbox
In the “Host/IP” (3) field, enter the address of the virtual machine
In the “Username” (4) field, enter the username to connect to the VM
In the “Password” (5) field, type the password, which was used to connect to the virtual machine before
Click “Finish” (6) 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 manually, you should connect to a VM.
- 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).
- 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 (2) that was specified while creating the virtual machine.
- 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.