Public Key Authentication

Public-key Authentication is based on the use of digital signatures and provides the best authentication security.

For Public Key Authentication to work four things are needed:

The following instruction guides you through the process of configuring a SSH connection using Public Key Authentication. To successfully establish a SSH connection , set the SSH connection properties in the corresponding boxes: Host name/IP address, Port number, User name, Authentication Method, Private Key and Passphrase.

  1. Click or choose File -> New Connection to set up the Connection Properties.
  2. Select the SSH tab and enable Use SSH Tunnel.
  3. Fill in the required information:

    Host Name/IP Address
    A host where SSH server is activated.

    Port
    A port where SSH server is activated, by default it is 22.

    User Name
    A user on Linux machine. (It is a Linux user. It is not a user of Database Server.)

    Authentication Method
    Choose between Password Authentication and Public Key Authentication

    Private Key
    It is used together with your public key. The private key should be readable only by you.

    Passphrase
    A passphrase is exactly like a password, except that it applies to the keys you are generating and not an account. The passphrase be any length under 1024 characters.

  4. Navicat host name at the General Settings page (MySQL, Oracle or PostgreSQL) should be set relatively to the SSH server which provided by your database hosting company.

See also:
Advanced Settings

Related topics:
Password Authentication