Difference between revisions of "How to access the cluster with PuTTY"

From ScientificComputing
Jump to: navigation, search
Line 1: Line 1:
 +
< [[Accessing the cluster|Accessing the cluster]]
 +
 +
 +
 
== Basic login ==
 
== Basic login ==
 
<table style="width: 100%;">
 
<table style="width: 100%;">

Revision as of 11:54, 23 December 2021

< Accessing the cluster


Basic login

Start PuTTy

Open putty.png

Enter Euler hostname (euler.ethz.ch)

Login with password1.png

Enter your ETH account username and password

Login with password2.png

Upon a successful login, you can see the welcome banner and links to this Wiki, Smartdesk and cluster support

Login with password3.png


Saved session

Create a session

Enter Euler hostname (euler.ethz.ch) and a session name

Putty config name session.png

Add your username

Putty config add username.png

Save a session

Putty config save session.png

Load a session

Putty config load session.png

SSH keys

Create SSH keys

Start PuTTYgen

Run puttygen.png

Generate SSH Keys

Puttygen create keys.png

Enter a passphrase and save the public and private keys

Puttygen save keys.png

Navigate to the folder you want to save the SSH keys, define the key file name and save it

Puttygen save private keys.png

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.

Putty config add ssh key.png

Copy the public key to the cluster

Log in to the cluster and open the file

$HOME/.ssh/authorized_keys

Copy public key.png

Copy the public key to the file and save the file

Copy public key 2.png

Auto login

Run Pageant

Run pageant.png

When Pageant is running, you can see the pageant icon on the left of the tool bar

Pageant running.png

Add SSH key to Pageant

Right click on the Pageant icon. Select "Add Key"

Pageant add key.png

Navigate to the folder where the keys are stored and select the private key

Pageant add key2.png

Enter the passphrase and click OK

Pageant add key3 enter pass phrase.png

The next time your loaded the saved session with SSH key configured, you can log in without typing the password or the passphrase

Login with passwordless.png