Difference between revisions of "How to access the cluster with PuTTY"
Line 221: | Line 221: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | |||
+ | == Further readings == | ||
+ | * https://www.ssh.com/academy/ssh/putty | ||
+ | * https://www.youtube.com/watch?v=2nkAQ9M6ZF8 |
Revision as of 12:03, 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 |
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 |