SSH Tunneling
You can connect Postgres, MySQL, MSSQL, MongoDB, and other databases that are hosted under a private network via SSH tunnels.
Prerequisites
First, you need to configure your bastion host to allow UI Bakery to connect to establish an SSH tunnel. To do so, follow the next steps:
Create a UI Bakery user (UI Bakery will connect to your bastion as this user):
Next, create a required folder structure and store the public key in the
authorized_keys
file to allow UI Bakery to connect to your bastion :
Once configured you can proceed with connecting your database.
The same steps apply for on-premise deployments as well.
Enabling SSH tunneling
Navigate to the data source connection window.
Select your data source and select the Enable SSH tunnel checkbox.
An additional details form will appear - specify your bastion host and port number.
Usually this is an IP and an SSH port (22) of the server that holds the database.
Copy the SSH public key. UI Bakery will try to connect to your bastion host with the specific private key and the
uibakery
username that you've added before.Click Connect Datasource.
Last updated