TrueNAS SCALETrueNAS SCALE Nightly Development Documentation
This content follows experimental early release software. Use the Product and Version selectors above to view content specific to a stable software release.

SSH Screens

The Backup Credentials screen displays the SSH Connections and SSH Keypairs widgets.

You must also configure and activate the SSH Service to allow SSH access.

SSH Connection and Keypairs Widgets

The SSH Connections and SSH Keypairs widgets display a list of SSH connections and keypairs configured on the system.

Backup Credentials Screen
Figure 1: Backup Credentials Screen

The SSH Connections widget allows users to establish Secure Socket Shell (SSH) connections. The SSH Keypairs widget allows users to generate SSH keypairs required to authenticate the identity of a user or process that wants to access the system using SSH protocol.

Add button in the SSH Connections widget opens the SSH Connections configuration window. The connection name on the widget is a link that opens the SSH Connections configuration screen already populated with the saved settings for the selected connection.

SSH Connections Screens

The settings displayed on the SSH Connections configuration screens are the same whether you add a new connection or edit an existing connection.

Name and Method Settings

Name and Method
Figure 2: Name and Method
NameDescription
NameRequired. Enter a unique name for this SSH connection. For example, use ssh and a server name or number like sshsys1 or sshtn121 where sys1 or tn121 are server designations.
Setup MethodDefault is set to Semi-automatic (TrueNAS only). Select Semi-automatic (TrueNAS only) to simplify setting up an SSH connection with another TrueNAS or FreeNAS system without logging into that system to transfer SSH keys. Select Manual to enter all settings when setting up an SSH connection with a non-TrueNAS server. Displays other setting options required to manually configure an SSH connection. Requires copying a public encryption key from the local system to the remote system. A manual setup allows a secure connection without a password prompt.

Authentication Settings - Semi-Automatic Method

These authentication settings display when Setup Method is Semi-automatic (TrueNAS only).

Authentication Settings
Figure 3: Authentication Settings
NameDescription
TrueNAS URLEnter the host name or IP address of the remote system. Use a valid URL scheme for the remote TrueNAS URL. IP address example of https://10.231.3.76.
Admin UsernameEnter the user name for logging into the remote system.
Admin PasswordEnter the user account password for logging into the remote system.
One-Time Password (if necessary)One-Time Password if two-factor authentication is enabled.
UsernameUsername on the remote system used to login via SSH.
Private KeySelect a saved SSH keypair or you can import the private key from a previously created SSH keypair or select Generate New to create a new keypair to use for the connection to this remote system.

Authentication Settings - Manual Method

These authentication settings display when Setup Method is Manual. You must copy a public encryption key from the local system to the remote system. A manual setup allows a secure connection without a password prompt.

Manual Authentication Settings
Figure 4: Manual Authentication Settings
NameDescription
HostEnter the host name or IP address of the remote system. A valid URL scheme is required. An IP address example is https://10.231.3.76.
PortEnter the port number on the remote system to use for the SSH connection.
UsernameEnter the user name for logging into the remote system.
Private KeySelect a saved SSH keypair or select Generate New to create a new keypair to use for the connection to this remote system.
Remote Host KeyEnter the remote system SSH key for this system to authenticate the connection. Click Discover Remote Host Key after properly configuring all other fields to query the remote system and automatically populate this field.
Discover Remote Host KeyClick to connect to the remote system and attempt to copy the key string to the related TrueNAS field.

More Options Settings

More Options Settings
Figure 5: More Options Settings
NameDescription
Connect TimeoutEnter time (in seconds) before the system stops attempting to establish a connection with the remote system.

Save automatically opens a connection to the remote TrueNAS and exchanges SSH keys.

SSH Keypairs Widget

The SSH Keypairs widget on the Backup Credentials screen lists SSH keypairs added to the TrueNAS SCALE system.

SSH Keypairs Widgit
Figure 6: SSH Keypairs Widgit

The name of the keypair listed on the widget is a link that opens the SSH Keypairs configuration screen.

The download icon, and the more_vert at the bottom of the SSH Keypairs configuration screen, download the public and private key strings as text files for later use.

The delete delete icon opens the a delete dialog. Click Confirm and then Delete to remove the stored keypairs from the system.

SSH Keypairs Screen

The SSH Keypairs configuration screen displays the same settings for both add and edit options. Click Add to open a new configuration form, or click on an existing keypair to open the configuration screen populated with the settings for the selected keypair.

SSH Keypairs Settings
Figure 7: SSH Keypairs Settings
NameDescription
NameRequired. Enter a unique name for this SSH keypair. Automatically generated keypairs are named after the object that generated the keypair with key appended to the name.
Generate KeypairClick to have TrueNAS SCALE automatically generate a new keypair and populate the Private Key and Public Keys fields with these values.
Private KeySee Authentication in SSH/Authentication.
Public KeySee Authentication in SSH/Authentication

Save adds the keypair to the widget and activates the with options to Download Private Key and Download Public key.