Perform the following tasks to configure the SSH server and client:Documentation Index
Fetch the complete documentation index at: https://docs.futurex.com/llms.txt
Use this file to discover all available pages before exploring further.
- Extract the SSH client public key from the zip file.
- Convert the SSH client public key file from DER to PEM format.
- Configure the SSH client public key on the SSH server and disable non-key-based authentication modes.
Extract the public key
Perform the following steps to extract the SSH client public key from the zip file:Open a terminal session and go to the location of the SSH client public key zip file exported from the CryptoHub.
Convert the public key file
This section uses OpenSSL to convert theSSH.pub file from DER to PEM format. PEM is a method of encoding binary data as a string (also known as ASCII armor).
Perform the following steps to convert the SSH client public key file from DER to PEM format:
Configure the public key
Perform the following steps to configure the SSH client public key on the SSH server and disable non-key-based modes of authentication:SSH requires a specific format for the public keys used within an SSH session. Run the following ssh-keygen command to convert the
SSH_pubkey.pem file from the previous command to the required SSH public key format and add it to the ~/.ssh/authorized_keys file:Shell
Run the following command to open the SSH daemon configuration file:
Editing this file requires sudo privileges.
Shell
Optionally, you can also set the following directives to make the SSH daemon only respond to SSH keys:
Text

