putty.md 3.96 KB
Newer Older
1
+++
2
title = "Connecting with PuTTY (Windows)"
3
4
5
6
7
8
9
10
description = "How to connect to HCC clusters using the PuTTY SSH client"
weight = "20"
+++

##### 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" >}}).

- [Connecting to HCC Clusters](#connecting-to-hcc-clusters)
Caughlin Bohn's avatar
Caughlin Bohn committed
11
12
13
- [Windows 10](#windows-10)
- [Windows 7 and 8.1](#windows-7-and-81)
- [Next Steps:](#next-steps)
14
15
16
17
18
19
20
21
22
23
24
25

## Connecting to HCC Clusters

{{% notice info %}}
If you have a MacOS or Linux system, please see [Connecting with Terminal]
({{< relref "/connecting/terminal.md" >}}).
{{% /notice %}}


### Windows 10
--------------

26
Windows 10 users, can connect using the
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Command Prompt. Please see [Connecting with the Terminal]({{< relref "/connecting/terminal" >}})
for more details.

### Windows 7 and 8.1
--------------

For users with older Windows versions, you will need to install an SSH client to connect.
We will cover the use of PuTTY here, but you are free to use any compatable client, such as 
[MobaXterm]({{< relref "/connecting/mobaxterm" >}}) as well.

To download and install PuTTY, visit the [PuTTY website]
(https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html).

Once you have PuTTY installed, run the application and follow these steps:

{{% notice info %}}
Huijun Zhu's avatar
Huijun Zhu committed
43
44
45
**Note that the example below uses the `Crane` cluster.
Replace all instances of `crane` with `rhino` if
you want to connect to the `Rhino` cluster.
46
47
{{% /notice %}}

Huijun Zhu's avatar
Huijun Zhu committed
48
1.  On the first screen, type `crane.unl.edu` for Host Name, then click
49
50
51
52
53
54
55
56
    **Open**. 
    {{< figure src="/images/3178523.png" height="450" >}}

2.  On the second screen, click on **Yes**.  
    {{< figure src="/images/3178524.png" height="300" >}}

3.  On the third screen, enter your HCC account **username**. If you do
    not have a HCC account, please contact an HCC specialist
57
    ({{< icon name="envelope" >}}[hcc-support@unl.edu](mailto:hcc-support@unl.edu))
58
59
    or go to http://hcc.unl.edu/newusers.

Huijun Zhu's avatar
Huijun Zhu committed
60
    {{% notice info %}}Replace `cbohn` with your username.{{% /notice %}}
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88


    {{< figure src="/images/8127261.png" height="450" >}}      

4.  On the next screen, enter your HCC account **password**. 

    {{% notice info %}}**Note that PuTTY will not show the characters as you type for security reasons.**{{% /notice %}} 

    {{< figure src="/images/8127262.png" height="450" >}}

5.  After you input the correct
    password, you will be asked to choose a Duo authentication
    method.
      
6.  If you have a Yubikey set up by HCC, please hold the Yubikey for \~1
    second. Then you will be brought to your home directory similar as
    below.   
     
    {{< figure src="/images/8127266.png" height="450" >}} 
      
7.  If you set up Duo via a smart phone, please type "1" in your
    terminal and press "Enter". (Duo-Push is the most cost-effective way
    for Duo authentication, we recommend all user use this option if
    that is applicable.)  
      
8.  Check your smart phone for Duo login request. Press "Approve" if you
    can verify the request. If you find any Duo login request that is
    not initiated by yourself, deny it and report this incident
89
    immediately to {{< icon name="envelope" >}}[hcc-support@unl.edu](mailto:hcc-support@unl.edu).
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107

    {{< figure src="/images/8127263.png" height="450" >}}      
      
9.  After you approve the Duo login request, you will be brought to your
    home directory similar as below.  

    {{< figure src="/images/8127264.png" height="450" >}}
 
### Next Steps:

Now that you are connected, check out these resources to learn more:
 - [Handling Data]({{< relref "../handling_data/">}})
 - [Running Applications]({{< relref "../applications/">}})
 - [Submitting Jobs]({{< relref "../submitting_jobs/">}})

If you are not familiar with using command line Linux, check out these resources:
 - [Basic Linux Commands]({{< relref "basic_linux_commands">}})
 - [Software Carpentry Introduction to the Unix Shell Lesson](http://swcarpentry.github.io/shell-novice/)