Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
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
languagebash
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.

...