Difference between revisions of "How to access the cluster with PuTTY"
From ScientificComputing
(Created page with "== Setup a connection to the cluster == <table style="width: 100%;"> <tr valign=top> <td style="width: 20%;"> Start PuTTy </td> <td style="width: 80%; text-align: left"> Ima...") |
|||
Line 68: | Line 68: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | |||
+ | == Copy the public key to the cluster == | ||
+ | <table style="width: 100%;"> | ||
+ | <tr valign=top> | ||
+ | <td style="width: 20%;"> | ||
+ | Log in to the cluster and open the file | ||
+ | $HOME/.ssh/authorized_keys | ||
+ | </td> | ||
+ | <td style="width: 80%;"> | ||
+ | [[Image:copy_public_key.png|600px]] | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign=top> | ||
+ | <td style="width: 20%;"> | ||
+ | Copy the public key to the file and save the file | ||
+ | </td> | ||
+ | <td style="width: 80%;"> | ||
+ | [[Image:copy_public_key_2.png|600px]] | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | == Add key to Pageant for auto-login == |
Revision as of 18:52, 22 December 2021
Contents
Setup a connection to the cluster
Start PuTTy |
|
Create a session by enter Euler hostname (euler.ethz.ch) and a session name |
|
Add your username |
|
Save the session |
Create SSH keys
Start PuTTYgen |
|
Generate SSH Keys |
|
Save the public and private keys |
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 |