Add an SSH Server with a Customer-Managed Key
Generate your key.
Note that if you use the AWS Secret Key Generator in Wizard Mode to generate your key, this can cause issues due to the line breaks it inserts. We recommend that if you use this generator, you do so in plain text mode.
From the Servers section on the left-hand side, select
add server. Choose
SSH (Customer-Managed Key)as the Server Type and fill in the host's details.
Paste in the key. You can do so either in plain text, or Base64 encoded, depending on the option you choose.
Adding your key to your hosts
If you have not already, add your public key to the targeted host.
- Open a command prompt on the server you're adding and edit the authorized keys file for the user specified during server setup.
sudo vi ~/.ssh/authorized_keys
- Append the public key you generated to the end of the file, save, and exit.
- Back in the Admin UI, click the 'update' button. You should see that the server in the list goes to a gray mode while the configuration is being applied and then to a green mode to indicate a successful health check.
If any errors occur, please copy them into an email and send to email@example.com.