Difference between revisions of "How to access the cluster with MobaXterm"
From ScientificComputing
Line 39: | Line 39: | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
[[Image:moba_logged_in_with_password.png|600px]] | [[Image:moba_logged_in_with_password.png|600px]] | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | == Session settings == | ||
+ | |||
+ | <table style="width: 100%;"> | ||
+ | <tr valign=top> | ||
+ | <td style="width: 20%;"> | ||
+ | Edit session | ||
+ | </td> | ||
+ | <td style="width: 80%;"> | ||
+ | [[Image:moba_edit_session.png|300px]] | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign=top> | ||
+ | <td style="width: 20%;"> | ||
+ | You can specify username and session name | ||
+ | </td> | ||
+ | <td style="width: 80%;"> | ||
+ | [[Image:moba_edit_session2.png|600px]] | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 74: | Line 96: | ||
</table> | </table> | ||
− | === | + | === Add the private key to a session === |
− | |||
<table style="width: 100%;"> | <table style="width: 100%;"> | ||
<tr valign=top> | <tr valign=top> | ||
<td style="width: 20%;"> | <td style="width: 20%;"> | ||
− | + | Edit session | |
</td> | </td> | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
− | [[Image: | + | [[Image:moba_edit_session.png|300px]] |
</td> | </td> | ||
</tr> | </tr> | ||
Line 88: | Line 109: | ||
<tr valign=top> | <tr valign=top> | ||
<td style="width: 20%;"> | <td style="width: 20%;"> | ||
− | + | Enable using private key and select the private key file | |
</td> | </td> | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
− | [[Image: | + | [[Image:moba_ssh_keys_add_private_key.png|600px]] |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | == | + | === Copy the public key to the cluster === |
− | |||
<table style="width: 100%;"> | <table style="width: 100%;"> | ||
<tr valign=top> | <tr valign=top> | ||
<td style="width: 20%;"> | <td style="width: 20%;"> | ||
− | + | Log in to the cluster and open the file $HOME/.ssh/authorized_keys | |
</td> | </td> | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
− | [[Image: | + | [[Image:moba_ssh_keys_copy0.png|600px]] |
</td> | </td> | ||
</tr> | </tr> | ||
Line 110: | Line 130: | ||
<tr valign=top> | <tr valign=top> | ||
<td style="width: 20%;"> | <td style="width: 20%;"> | ||
− | + | Copy the public key to the file $HOME/.ssh/authorized_keys on the cluster | |
</td> | </td> | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
− | [[Image: | + | [[Image:moba_ssh_keys_copy1.png|900px]] |
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 15:29, 26 January 2022
Contents
Basic login
Start MobaXterm and create a session |
|
Select an SSH session and enter the Euler hostname (euler.ethz.ch) This session is saved automatically under the hostname. |
|
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 |
Session settings
Edit session |
|
You can specify username and session name |
SSH keys
Create SSH keys
Start MobaKeyGen |
|
Select ed25519 algorithm and generate SSH keys |
|
Enter a passphrase, and save the public key (optional) and the public key (compulsory) |
Add the private key to a session
Edit session |
|
Enable using private key and select the private key file |
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 $HOME/.ssh/authorized_keys on the cluster |