Overview

Portals

  • Choose File > Settings... > Tools > SSH Configurations from the menu bar to access the SSH connection configuration page.
  • On the welcome page, choose Customize > All Settings... > Tools > SSH Configurations to access the SSH connection configuration page.
Figure 1 SSH configuration window

The aliases of the SSH connections are displayed on the navigation pane on the left of the configuration window. If no alias is set, each SSH connection is displayed as <username>@<host>:<port>. You can right-click to change the alias. Click the alias to view the parameter settings in the detailed panel on the right.

Parameters and Icons

Table 1 Parameters and icons

Parameter/Icon

Description

Host

Destination address of the connection (IP address or domain name)

Port

Port number of the destination address of the connection.

User name

Username for logging in to the destination address.

Authentication type

Authentication method. Two methods are available:

  • Password: Enter a password for authentication.
  • Key pair: Use an SSH key for authentication. Prepare the key in advance by yourself.
    NOTE:
    • In the EulerOS 2.8/2.10 AArch architecture, Kylin OS V10 SP1 AArch architecture, openEuler, Ubuntu 20.04, and CentOS 8.2, when Key pair is used for identity authentication, you need to run the ssh-keygen -m PEM or ssh-keygen -t rsa -m PEM command to apply for an SSH key.
    • When applying for an SSH key, you are advised to set Passphrase to a value that meets the following password complexity requirements:
      • The password is at least eight characters long.
      • It must contain at least two types of the following characters:
        • At least one lowercase letter
        • At least one uppercase letter
        • At least one digit
        • Special characters: `~!@#$%^&*()-_=+\|[{}];:'",<.>/? and spaces
    • If you select Key pair, the configured private key file is saved by default.

Password

Available when Authentication type is set to Password. Enter the correct password. You can select Save password to save the password.

NOTE:

If Save password is not selected, the password will be automatically cleared after 24 hours. When you use SSH next time, the password text box is displayed. You need to enter the password again to execute the SSH task.

Private key file

Available when Authentication type is set to Key pair. Select a local private key file.

Passphrase

Available when Authentication type is set to Key pair. Enter the correct passphrase. You can select Save password to save the passphrase.

Test Connection

Checks whether the connection is successful.

Adds a new SSH connection.

Deletes an SSH connection. Select an SSH connection to be deleted and click this icon.

Lock the current connection

The option is dimmed and cannot be operated. If an SSH connection is added to the cluster management, this option is automatically selected. In this case, the SSH connection is locked and cannot be modified and deleted.