SSH Keys - Create
Publisher: Psychz Networks, June 27,2023The following instructions will guide you on Add/Create an SSH Public key. To access this feature on your dashboard, please use the following link "SSH Keys"
Using this feature, you can add an SSH Public Key and store it for future use.
Step 1: Enter the Name
This feature allows you to store multiple SSH keys uniquely identified by the name you assign to it.
Step 2: Add SSH public key
In this field, you need to copy the public key. you need to locate the file that was generated during the SSH key pair creation process. By default, the public key is usually stored in the /root/.ssh/ directory with the filename id_rsa.pub.
Find and copy the public key:
Once you have generated the SSH Keys, your public key is stored in '.ssh' directory as 'id_rsa.pub' Once you've identified the public key file, you can use various methods to copy its content:
Using the cat command (Linux/macOS):
cat~/.ssh/id_rsa.pub
Using the type command (Windows PowerShell):
type$env:USERPROFILE\.ssh\id_rsa.pub
Using the type command (Windows Command Prompt):
type%USERPROFILE%\.ssh\id_rsa.pub
After running one of the commands above, the content of your public key will be displayed in the terminal. You can then copy the entire content of the public key, including the "ssh-rsa" at the beginning.
IMPORTANT: The SSH key starts with 'ssh-rsa'. Do not forget to copy this part along with the rest of the key.