Skip to content
Snippets Groups Projects
Commit 410aa61c authored by Caughlin Bohn's avatar Caughlin Bohn
Browse files

Editor and SSHKeys

parent 9d5e5e58
No related branches found
No related tags found
1 merge request!149Mobaxterm Page
+++
title = "Using MobaXterm"
description = "Quickstart Guide for MobaXterm"
weight = "22"
+++
##### Use of Duo two-factor authentication is **required** to access HCC resources.
##### Please see [Setting up and Using Duo]({{< relref "setting_up_and_using_duo" >}}).
---
This quick start will help you configure your MobaXterm installation to work with HCC resources.
Access to HCC Supercomputers using MobaXterm
-------------------------------
{{< figure src="/images/moba/main.png" height="450" >}}
To connect to HCC resources using MobaXterm, open the application and select the Session Icon.
{{< figure src="/images/moba/session.png" height="450" >}}
Select SSH as the session type. Enter the cluster you are connecting to, in the example, `crane.unl.edu`, is used. Check `Specify username` and enter your HCC username in the the box. Note that &lt;username&gt;
should be replaced by your HCC account username. If you do not have a
HCC account, please contact a HCC specialist
({{< icon name="envelope" >}}[hcc-support@unl.edu] (mailto:hcc-support@unl.edu))
or go to https://hcc.unl.edu/newusers.
To use the **Rhino** cluster, replace crane.unl.edu with with rhino.unl.edu.
{{< figure src="/images/moba/login.png" height="450" >}}
Select OK. You will be asked to enter your password and to authenticate with duo.
{{< figure src="/images/moba/loggedin.png" height="450" >}}
File Transferring with HCC Supercomputers
-----------------------------------------
### Using MobaXterm
MobaXterm allows file transfering in a 'drag and drop' style, similar to WinSCP. MobaXterm also allows editing of files from a built in text editor or an editor of your choice already installed on your local machine.
**Uploading from local to remote**
{{< figure src="/images/moba/upload.png" height="450" >}}
The above example transfers a folder from a local directory of the your computer to the `$HOME` directory of the HCC
supercomputer, Crane. Note that you need to replace `<group name>`
and `<username>` with your HCC group name and username.
**Downloading from remote to local**
{{< figure src="/images/moba/download.png" height="450" >}}
The above example transfers a folder from the `$HOME` directory of
the HCC supercomputer, Crane, to a local directory on
your computer.
**Editing remote files**
By double clicking on a file in the toolbar of the left, you are able to open the file in the editor from MobaXterm.
{{< figure src="/images/moba/defaulttext.png" height="450" >}}
There is the option to use your own choice of editor already installed on your local machine. Under the `General` Tab in MobaXterm's settings, set the path of the editor's installation.
{{< figure src="/images/moba/editor.png" height="450" >}}
In the example above, Notepad++ is used as the choice editor. Once the editor is selected, it becomes the default editor for double clicking files and editing.
**Generating SSH Keys**
With Anvil, you will need to generate SSH keys in order to access your instances. These are able to be generated in MobaXterm.
{{< figure src="/images/moba/menussh.png" height="450" >}}
In the Generator window, click `Generate` and move your mouse around in the `Key` box randomly to generate the key.
{{< figure src="/images/moba/genssh.png" height="450" >}}
After the key is generated, go to the `Conversions` tab and select `Export OpenSSH key` and save it to your local machine.
{{< figure src="/images/moba/exportssh.png" height="450" >}}
**Treat the private key file the same as you would a password. Keep your private key in a secure location and do not share it with anyone.**
\ No newline at end of file
static/images/moba/defaulttext.png

63.8 KiB

static/images/moba/download.png

183 KiB

static/images/moba/editor.png

44 KiB

static/images/moba/exportssh.png

24.8 KiB

static/images/moba/genssh.png

14.9 KiB

static/images/moba/loggedin.png

61.6 KiB

static/images/moba/login.png

31.3 KiB

static/images/moba/main.png

33.8 KiB

static/images/moba/menussh.png

49.2 KiB

static/images/moba/session.png

22.5 KiB

static/images/moba/upload.png

80.4 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment