Remote SSH Access#
Edge Manageability Framework allows you to add public SSH keys into a host during the provisioning stage, so that you can access the node’s console later on.
To add your public key, go to the Admin section of the web UI, using the Gear option on the top-level menu. Click SSH Keys from the left menu:
Click Add Key to open the menu, add the Key Name and SSH Public Key, then click Add:
Note
The SSH Key Name will be used to establish the user account on the host. Ensure that the provided name does not conflict with any restricted usernames (example: root, admin, and etc.) in the Linux* OS.
Once the key is added to the SSH key list, you can add it to a host when configuring it. Follow the Provision Host instructions to enable this.
To delete an SSH key, click the Delete option under the Actions column next to the key you want to delete. A confirmation dialog will appear. Click Delete to confirm the deletion: .. note:: You cannot delete the SSH Key if it is associated with a provisioned host.
To view the list of hosts using the SSH key, click the View Details option under the Actions column next to the SSH key. A list of hosts currently using the SSH Key will be displayed:
You can edit and run the following example commands on a Linux* machine to generate the SSH key pair:
ssh-keygen -t ed25519 -f ~/your_key_name # Generates in ed25519 format ssh-keygen -t ecdsa -b 521 -f ~/your_key_name # Generates in ecdsa-sha2-nistp521 format
Note
Only Public Key based authentication with the following SSH Key algorithms are supported:* ed25519* ecdsa-sha2-nistp521To access the host’s console using SSH, run the following command:
ssh -i ~/your_private_key <key-name>@<host_ip_address>
- Legend:
<key-name> is the name provided when you add the SSH key.
<host_ip_address> is the IP address of the host. You can get the IP address through the host View I/O Devices Details page of the web UI.