Fortinet black logo

Handbook (HTML)

Configuring SSH connections to Oracle and DB2 databases

Copy Link
Copy Doc ID 73ac471a-9afd-11ea-8862-00505692583a:301802

Configuring SSH connections to Oracle and DB2 databases

You can configure FortiDB to connect to Oracle and DB2 target databases using Secure Shell (SSH).

If you are using the software-only version of FortiDB and connecting using SSH, additional configuration is required. For more information on these requirements, see SSH environment requirements (software-only version).

To configure a SSH connection
  1. On the Target page, click the SSH tab.
  2. Specify a port number.
  3. The default port is 22.

  4. For Access Method, select one of the following values:
  5. Password Select to connect using the name of the database user and a password, and then enter the user information.
    Implicit Key Pair Select to connect using the name of the database user and the SSH key file specified by the SSH Key File global property, and then enter the user name.

    Explicit Key Pair

    (software-only version)

    Select to connect using a private key and passphrase (if you provided one when you generated the key), and then complete the following settings:

    • User Name — Enter the FortiDB SSH user.
    • Key Path — Enter the directory on your SSH client computer where the private key is located. Then, in the specified directory, create the directory ./ssh and copy the private key to it.
    • Pass Phrase — Enter an optional passphrase. You enter a passphrase when you generate a private key.
  6. If you want to use the operating system vulnerability assessment (OSVA) feature and the target is an Oracle database running on Solaris or AIX, select Enable OSVA, and then compete the required settings.
  7. For more information on these settings, seeEnabling operating system vulnerability assessment (OSVA) for Solaris and AIX.

  8. To test the connection, click Test SSH Connection.

Configuring SSH connections to Oracle and DB2 databases

You can configure FortiDB to connect to Oracle and DB2 target databases using Secure Shell (SSH).

If you are using the software-only version of FortiDB and connecting using SSH, additional configuration is required. For more information on these requirements, see SSH environment requirements (software-only version).

To configure a SSH connection
  1. On the Target page, click the SSH tab.
  2. Specify a port number.
  3. The default port is 22.

  4. For Access Method, select one of the following values:
  5. Password Select to connect using the name of the database user and a password, and then enter the user information.
    Implicit Key Pair Select to connect using the name of the database user and the SSH key file specified by the SSH Key File global property, and then enter the user name.

    Explicit Key Pair

    (software-only version)

    Select to connect using a private key and passphrase (if you provided one when you generated the key), and then complete the following settings:

    • User Name — Enter the FortiDB SSH user.
    • Key Path — Enter the directory on your SSH client computer where the private key is located. Then, in the specified directory, create the directory ./ssh and copy the private key to it.
    • Pass Phrase — Enter an optional passphrase. You enter a passphrase when you generate a private key.
  6. If you want to use the operating system vulnerability assessment (OSVA) feature and the target is an Oracle database running on Solaris or AIX, select Enable OSVA, and then compete the required settings.
  7. For more information on these settings, seeEnabling operating system vulnerability assessment (OSVA) for Solaris and AIX.

  8. To test the connection, click Test SSH Connection.