...
To add the keys to the compute servers add the keys from your local machine to ~/.ssh/authorized_keys in the compute machine. For that in your local machine get the public key by executing the following command:
Code Block | ||
---|---|---|
| ||
cat ~/.ssh/id_rsa.pub |
...
Connect from your local machine to the compute servers using the settings and alias specified in the ssh config file with the following command:
Code Block | ||
---|---|---|
| ||
ssh nots |
The compute server will ask for a password.
Copy the public key to the compute servers. In order to do that edit or create a file called ~/.ssh/authorized_keys and add the contents from your ~/.ssh/id_rsa.pub file in a new line.
...