Introduction
Keypairs are used for access to our Linux hosts via SSH. Using Arcus portal, you can generate a new key pair or import an existing public key.
Creating a SSH Key Pair
- Click on the username to open a window where you can see preferences, support, and a log out button.
2. Click on Preferences.
The preferences will have a popup window with three different tabs, permitting the following:
- Set Default Language on the current browser
- Create/Upload a public SSH key to be injected into new Linux VMs
- Change the current login password (local users only – no Active Directory support)
Click on SSH tab.
Option 1. Generating a Key pair
- Click on Generate Key.
Note. A warning will show indicating that the key will be overwritten. Click on Generate SSH Key.
- Once the Public key is generated. Click Close.
- A new file called arcus-private-sshkey.rsa will be generated and downloaded locally onto your computer.
- Rename the file from arcus-private-sshkey.rsa to id.rsa and copy it to
/home/<user>/.ssh/id_rsa
Note: If you get a message "WARNING: UNPROTECTED PRIVATE KEY FILE!", Permissions 0644 for '/Users/username/.ssh/id_rsa' are too open. Change the permissions of the file as follows: chmod 400 id_rsa
- To test connectivity using the new ssh key, create a new instance and ssh into it.
ssh ubuntu@10.170.10.2
Option 2. Upload Public Key
- Click on Upload Public Key.
- Copy and paste your Public Key. Click Upload SSH Key.
- To test connectivity using the new ssh key, create a new instance and ssh into it.
ssh ubuntu@10.170.10.2