Difference between revisions of "How to access the cluster with PuTTY"
From ScientificComputing
Line 120: | Line 120: | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
[[Image:puttygen_save_private_keys.png|600px]] | [[Image:puttygen_save_private_keys.png|600px]] | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | === Add the private key to a session === | ||
+ | <table style="width: 100%;"> | ||
+ | <tr valign=top> | ||
+ | <td style="width: 20%;"> | ||
+ | Create a session or load a session. Then, go to the Auth section to add the private SSH key. | ||
+ | </td> | ||
+ | <td style="width: 80%;"> | ||
+ | [[Image:putty_config_add_ssh_key.png|600px]] | ||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 10:26, 23 December 2021
Contents
Basic login
Start PuTTy |
|
Enter Euler hostname (euler.ethz.ch) |
|
Enter your ETH account username and password |
|
Upon a successful login, you can see the welcome banner and links to this Wiki, Smartdesk and cluster support |
Saved session
Create a session
Enter Euler hostname (euler.ethz.ch) and a session name |
|
Add your username |
Save a session |
Load a session |
SSH keys
Create SSH keys
Start PuTTYgen |
|
Generate SSH Keys |
|
Enter a passphrase and save the public and private keys |
|
Navigate to the folder you want to save the SSH keys, define the key file name and save it |
Add the private key to a session
Create a session or load a session. Then, go to the Auth section to add the private SSH key. |
Copy the public key to the cluster
Log in to the cluster and open the file $HOME/.ssh/authorized_keys |
|
Copy the public key to the file and save the file |