How to access the cluster with PuTTY
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 with a text editor This file should have the reading and writing permission only for you, the owner of the file (-rw-------). Otherwise, you can change the permission with the command chmod 600 $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 |
Passwordless and passphraseless login
The next time you load the saved session with SSH key configured, you can log in without typing the password or the passphrase |