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

From ScientificComputing
Jump to: navigation, search
Line 1: Line 1:
== Login to the cluster with password ==
+
== Basic login ==
 
<table style="width: 100%;">
 
<table style="width: 100%;">
 
<tr valign=top>
 
<tr valign=top>
Line 30: Line 30:
 
<tr valign=top>
 
<tr valign=top>
 
<td style="width: 20%;">
 
<td style="width: 20%;">
Upon a successful login, you can see the welcome banner and links to our Wiki, Smartdesk and E-mail address of the cluster support
+
Upon a successful login, you can see the welcome banner and links to this [[Main Page|Wiki]], [https://www.bi.id.ethz.ch/sd/welcome.view?lang=en Smartdesk] and {{Cluster support}}
 
</td>
 
</td>
 
<td style="width: 80%;">
 
<td style="width: 80%;">
Line 39: Line 39:
  
  
== Setup a connection to the cluster ==
+
== Stored session ==
 +
=== Create a session ===
 
<table style="width: 100%;">
 
<table style="width: 100%;">
 
<tr valign=top>
 
<tr valign=top>
 
<td style="width: 20%;">
 
<td style="width: 20%;">
Start PuTTy
+
Enter Euler hostname (euler.ethz.ch) and a session name
 
</td>
 
</td>
<td style="width: 80%; text-align: left">
+
<td style="width: 80%;">
[[Image:Open putty.png|600px]]
+
[[Image:putty_config_name_session.png|600px]]
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 52: Line 53:
 
<tr valign=top>
 
<tr valign=top>
 
<td style="width: 20%;">
 
<td style="width: 20%;">
Create a session by enter Euler hostname (euler.ethz.ch) and a session name
+
Add your username
 
</td>
 
</td>
 
<td style="width: 80%;">
 
<td style="width: 80%;">
[[Image:putty_config_name_session.png|600px]]
+
[[Image:putty_config_add_username.png|600px]]
 
</td>
 
</td>
 
</tr>
 
</tr>
 +
</table>
  
 +
<table style="width: 100%;">
 
<tr valign=top>
 
<tr valign=top>
 
<td style="width: 20%;">
 
<td style="width: 20%;">
Add your username
+
=== Save a session ===
 
</td>
 
</td>
 
<td style="width: 80%;">
 
<td style="width: 80%;">
[[Image:putty_config_add_username.png|600px]]
+
[[Image:putty_config_save_session.png|600px]]
 
</td>
 
</td>
 
</tr>
 
</tr>
 +
</table>
  
 +
<table style="width: 100%;">
 
<tr valign=top>
 
<tr valign=top>
 
<td style="width: 20%;">
 
<td style="width: 20%;">
Save the session
+
=== Load a session ===
 
</td>
 
</td>
 
<td style="width: 80%;">
 
<td style="width: 80%;">
[[Image:putty_config_save_session.png|600px]]
+
[[Image:putty_config_load_session.png|600px]]
 
</td>
 
</td>
 
</tr>
 
</tr>

Revision as of 09:02, 23 December 2021

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


Stored 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

Create SSH keys

Start PuTTYgen

Run puttygen.png

Generate SSH Keys

Puttygen create keys.png

Save the public and private keys

Puttygen save keys.png Puttygen save private keys.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

Add key to Pageant for auto-login