Difference between revisions of "How to access the cluster with MobaXterm"
(→Add SSH key to MobAgent) |
|||
Line 146: | Line 146: | ||
<tr valign=top> | <tr valign=top> | ||
<td style="width: 20%;"> | <td style="width: 20%;"> | ||
− | + | Go to Configuration | |
</td> | </td> | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
Line 156: | Line 156: | ||
<td style="width: 20%;"> | <td style="width: 20%;"> | ||
Enable '''Use internal SSH agent "MobAgent"''' and '''Forward SSH agents''' | Enable '''Use internal SSH agent "MobAgent"''' and '''Forward SSH agents''' | ||
− | + | ||
+ | Click the plus sign to select the private key | ||
+ | |||
+ | Then, you have to restart MobaXterm to apply the modifications. | ||
+ | |||
</td> | </td> | ||
<td style="width: 80%;"> | <td style="width: 80%;"> | ||
[[Image:moba_ssh_agent_setup1.png|600px]] | [[Image:moba_ssh_agent_setup1.png|600px]] | ||
+ | [[Image:Moba_dialog_box_restart_moba.png|400px]] | ||
+ | </td> | ||
+ | </tr><tr valign=top> | ||
+ | <td style="width: 20%;"> | ||
+ | Enter the passphrase at the start of MobaXterm | ||
+ | </td> | ||
+ | <td style="width: 80%;"> | ||
+ | [[Image:Moba_dialog_box_enter_passphrase.png|400px]] | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 15:18, 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 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 $HOME/.ssh/authorized_keys on the cluster |
Auto login
Add SSH key to MobAgent
Go to Configuration |
|
Enable Use internal SSH agent "MobAgent" and Forward SSH agents Click the plus sign to select the private key Then, you have to restart MobaXterm to apply the modifications. |
|
Enter the passphrase at the start of MobaXterm |