Difference between revisions of "How to access the cluster with PuTTY"
(→Copy the public key to the cluster) |
|||
Line 158: | Line 158: | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
[[Image:copy_public_key_2.png|600px]] | [[Image:copy_public_key_2.png|600px]] | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | === Passwordless login === | ||
+ | <table style="width: 100%;"> | ||
+ | <tr valign=top> | ||
+ | <td style="width: 20%;"> | ||
+ | Create an SSH session or load a saved session. then, enter the passphrase to login | ||
+ | </td> | ||
+ | <td style="width: 80%;"> | ||
+ | [[Image:login_with_ssh_key.png|600px]] | ||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 10:13, 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 |
Passwordless login
Create an SSH session or load a saved session. then, enter the passphrase to login |
Auto login
Run Pageant |
|
When Pageant is running, you can see the pageant icon on the left of the tool bar |
Add SSH key to Pageant
Right click on the Pageant icon. Select "Add Key" |
|
Navigate to the folder where the keys are stored and select the private key |
|
Enter the passphrase and click OK |
|
The next time you load the saved session with SSH key configured, you can log in without typing the password or the passphrase |