for_maclinux_users.md 8.46 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
+++
title = "For Mac/Linux Users"
description = "Quickstart Guide for Mac/Linux Users"
+++


<span id="title-text"> HCC-DOCS : For Mac/Linux Users </span>
=============================================================

Created by <span class="author"> Huang Cheng-Wei</span>, last modified
by <span class="editor"> Caughlin Bohn</span> on Oct 26, 2017

[Mac Tutorial Video](#ForMac/LinuxUsers-Video1)

[Linux Tutorial Video](#ForMac/LinuxUsers-Video2)

<span
class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span>

##### Use of Duo two-factor authentication is **required** to access HCC resources. Please see [Setting up and using Duo](Setting-up-and-using-Duo_5505155.html).

 

This quick start will help you configure your personal computer to work
with the HCC supercomputers.

<span
class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span>

If you are running Windows, please use the quickstart [For Windows
Users](For-Windows-Users_2851288.html).

Accessing to HCC Supercomputers
-------------------------------

For Mac/Linux users, use the system program Terminal to assess to the
HCC supercomputers. In the Terminal prompt,
type `ssh <username>@tusker.unl.edu` and the corresponding password
to get access to the HCC cluster **Tusker**. 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
(<a href="mailto:hcc-support@unl.edu" class="external-link">hcc-support@unl.edu</a>)
or go
to <a href="http://hcc.unl.edu/newusers/" class="external-link">http://hcc.unl.edu/newusers/</a>. <span
style="font-size: 14.0px;line-height: 1.4285715;">To use the **Crane**
or </span>**Sandhills**<span
style="font-size: 14.0px;line-height: 1.4285715;"> clusters, replace
tusker.unl.edu </span><span
style="font-size: 14.0px;line-height: 1.4285715;">with crane.unl.edu or
sandhills.unl.edu</span><span
style="font-size: 14.0px;line-height: 1.4285715;">. </span>

``` syntaxhighlighter-pre
$ ssh <username>@tusker.unl.edu
$ <password>
```

 

File Transferring with HCC Supercomputers
-----------------------------------------

For Mac/Linux users, file transferring between your personal computer
and the HCC supercomputers can be achieved through the commend `scp`.
Here we use **Tusker** for example. **The following commands should be
executed from your computer. **

**Uploading from local to remote**

``` syntaxhighlighter-pre
$ scp -r ./<folder name> <username>@tusker.unl.edu:/work/<group name>/<username>
```

The above commend line transfers a folder from the current directory
(`./`) of the your computer to the `$WORK` directory of the HCC
supercomputer, Tusker. Note that you need to replace `<group name>`
and `<username>` with your HCC group name and username. 

**Downloading from remote to local**

``` syntaxhighlighter-pre
$ scp -r <username>@tusker.unl.edu:/work/<group name>/<username>/<folder name> ./
```

The above commend line transfers a folder from the `$WORK` directory of
the HCC supercomputer, Tusker, to the current directory (`./`) of the
your computer.

Using Cyberduck
---------------

If you wish to use a GUI, be aware that not all programs will function
correctly with Duo two-factor authentication.  Mac users are recommended
to use Cyberduck
(<a href="http://cyberduck.io" class="external-link">http://cyberduck.io</a>).
 It is compatible with Duo, but a few settings need to be changed.

Under **Preferences - General**, change the default protocol to SFTP:

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274497.png" class="confluence-embedded-image" /></span>

Under **Preferences - Transfers**, reuse the browser connection for file
transfers.  This will avoid the need to reenter your password for every
file transfer:

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274498.png" class="confluence-embedded-image" /></span>

Finally, under **Preferences - SFTP**, set the file transfer method to
SCP:

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274499.png" class="confluence-embedded-image" /></span>

To add an HCC machine, in the bookmarks pane click the "+" icon:

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274500.png" class="confluence-embedded-image" /></span>

<span style="line-height: 1.4285715;">Ensure the type of connection is
SFTP.  Enter the hostname of the machine you with to connect to
(tusker.unl.edu, crane.unl.edu) in the </span>**Server**<span
style="line-height: 1.4285715;"> field, and your HCC username in the
</span>**Username**<span style="line-height: 1.4285715;"> field.  The
</span>**Nickname**<span style="line-height: 1.4285715;"> field is
arbitrary, so enter whatever you prefer.</span>

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274501.png" class="confluence-embedded-image" /></span>

After you add the bookmark, double-click it to connect.

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274505.png" class="confluence-embedded-image" /></span>

Enter your HCC username and password in the dialog box that will appear
and click *Login*.

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274508.png" class="confluence-embedded-image" /></span>

A second login dialogue will now appear.  Notice the text has changed to
say Duo two-factor.

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274510.png" class="confluence-embedded-image" /></span>

Clear the **Password** field in the dialogue.  If you are using the Duo
Mobile app, enter '1' to have a push notification send to your phone or
tablet.  If you are using a Yubikey, ensure the cursor is active in the
**Password** field, and press the button on the Yubikey.

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274509.png" class="confluence-embedded-image" /></span>

The login should complete and you can simply drag and drop files to or
from the window.

<span
class="confluence-embedded-file-wrapper"><img src="assets/images/2851290/7274511.png" class="confluence-embedded-image" /></span>

<span id="ForMac/LinuxUsers-Video1"
class="confluence-anchor-link"></span> 

 <span id="ForMac/LinuxUsers-Video2"
class="confluence-anchor-link"></span>  

Attachments:
------------

<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[osxfuse-2.5.6.dmg](attachments/2851290/3178535.dmg)
(application/octet-stream)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[Macfusion\_2.0.4.zip](attachments/2851290/3178536.zip)
(application/zip)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck1.png](attachments/2851290/7274497.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck2.png](attachments/2851290/7274498.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck3.png](attachments/2851290/7274499.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck4.png](attachments/2851290/7274507.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck5.png](attachments/2851290/7274501.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck10.png](attachments/2851290/7274506.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck10.png](attachments/2851290/7274505.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck4.png](attachments/2851290/7274500.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck11.png](attachments/2851290/7274508.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck13.png](attachments/2851290/7274509.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck12.png](attachments/2851290/7274510.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck14.png](attachments/2851290/7274512.png) (image/png)  
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[cyberduck14.png](attachments/2851290/7274511.png) (image/png)  

Document generated by Confluence on Oct 24, 2018 14:47

[Atlassian](http://www.atlassian.com/)