If you wish to use a GUI for data transfer, be aware that not all programs will function correctly with Duo two-factor authentication. Mac users are recommended to use Cyberduck. It is compatible with Duo, but a few settings need to be changed.
Under Preferences - General, change the default protocol to SFTP:
Under Preferences - Transfers, reuse the browser connection for file transfers. This will avoid the need to reenter your password for every file transfer:
Finally, under Preferences - SFTP, set the file transfer method to SCP:
To add an HCC machine, in the bookmarks pane click the “+” icon:
Ensure the type of connection is SFTP. Enter the hostname of the machine you wish to connect to (crane.unl.edu, rhino.unl.edu) in the Server field, and your HCC username in the Username field. The Nickname field is arbitrary, so enter whatever you prefer.
After you add the bookmark, double-click it to connect.
Enter your HCC username and password in the dialog box that will appear and click Login.
A second login dialogue will now appear. Notice the text has changed to say Duo two-factor.
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.
The login should complete and you can simply drag and drop files to or from the window.
If you run into issues with two-factor authentication, try the command below for a quick fix:
$ rm -rf ~/Library/ApplicationSupport/Cyberduck