create connection
First we need to hit 连接
the key and create the required database connection (PostgreSQL is used here for demonstration).
configuration SSH
information
SSH
Then select a column in the pop-up window and check it 使用SSH隧道
.
Host: Fill in your remote host address
Port: Fill in your remote host connection port
Username: The user who connects to the remote host
Password: The password for logging in the user
configuration 常规
information
Select 常规
another column.
Connection name: database connection name.
Host: Fill in the address that pops up when you run ifconfig on the remote host Port
: Fill in the connection port of the database installed on your remote host
(for example, PostgreSQL is generally 5432, MySQL is generally 3306)
Username: Username for logging in to the database
Password: Database user password for
test connection
Next, test the connection.
If there is a red line from Navicat to the SSH server, it means that your SSH
filling is wrong.
If there is a red line from the SSH server to the database, it means that your 常规
filling is wrong.
If the following picture appears (two green lines, it means it is successful)
successfully used
Next, you can use Navicat Premium to operate your database normally!