Connecting with Terminal

Use of Duo two-factor authentication is required to access HCC resources.
Please see Setting up and Using Duo.

Starting Terminal:

MacOS

To start a terminal on MacOS, launch Spotlight by pressing Command - spacebar. Type “Terminal” and press enter to launch the application. You should see a prompt, which is a string of text, followed by a $ or > character and a blinking cursor. Continue to connect by following the connection directions below.

Linux

Terminal can be opened on most Linux systems by pressing the Ctrl + Alt + T keys simultaneously. You should see a prompt - a string of text, followed by a $ or > character and a blinking cursor. Continue to connect by following the connection directions below.

Windows

Computers with newer versions of windows (Windows 10 build version 1803 and later), can connect using the Command Prompt. To start the command prompt, open the start menu and type cmd. Press enter to run. You should see a prompt - a string of text, followed by a $ or > character and a blinking cursor. Continue to connect by following the connection directions below.

If you are using an older versions of Windows, you will need to download an SSH client

Connecting To HCC Clusters

Once you have opened your terminal and you have a prompt, you can connect using the ssh command. For example, to connect to the Crane cluster type the following in your terminal or Command Prompt window:

$ ssh <username>@crane.unl.edu

where <username> is replaced with your HCC account name. To use the Rhino cluster, replace crane.unl.edu with rhino.unl.edu.

The first time you connect to one of our clusters from a computer, you will be prompted to verify the connection:

The authenticity of host 'crane.unl.edu (129.93.227.113)' can't be established.
RSA key fingerprint is SHA256:GDH3+iqSp3WJxtUE6tXNQcWRwpf0xjYgkQrYBDX3Ir0.
RSA key fingerprint is MD5:e5:c5:ac:07:ff:47:53:18:5e:8b:44:16:51:78:4a:c7.
Are you sure you want to continue connecting (yes/no)? 

Type yes to indicate that you do intend to connect to Crane.

You will then be prompted for your password.

Note that when entering your password, the characters you type will not be displayed on screen for security reasons.

Once the account password is entered successfully, two-factor authentication prompt will appear.

Duo two-factor login for demo01

Enter a passcode or select one of the following options:

 1. Duo Push to XXX-XXX-4247
 2. Phone call to XXX-XXX-4247
 3. SMS passcodes to XXX-XXX-4247

Passcode or option (1-3):

Enter the number which corresponds to your preferred option. You will know you have connected if your prompt changes to the following:

[<username>@login.crane ~]$ 

Next Steps:

Now that you are connected, check out these resources to learn more: - Handling Data - Running Applications - Submitting Jobs

If you are not familiar with using command line Linux, check out these resources: - Basic Linux Commands - Software Carpentry Introduction to the Unix Shell Lesson