Summary
This article discusses how to install and set up your initial connection to U-M's AFS server using Cyberduck.
Environment
Directions
Installing and setting up your initial connection to U-M's AFS server using Cyberduck
- If Cyberduck is not already present in your Applications or Programs folder, from the Managed Software Center (Mac) or Software Center (Windows), search for Cyberduck.
- Once you locate it in one of the Software Center, select Install Cyberduck, which will download and install the program on your computer.
- If instead you are downloading on a personal computer direct from the Cyberduck website, https://cyberduck.io, follow the instructions in that installer.
- Once it is installed, you will need to set up your connection to sftp.itd.umich.edu, in order to access your AFS home directory. Start up the Cyberduck application, by either double-clicking on the Cyberduck application icon in Windows, or on Mac, locate the program name in the Applications folder, and click on the name to open.
- Once open, click the File menu.
- Select Open Connection.
- In the Connect dialog box, click the drop-down and select SFTP (SSH File Transfer Protocol).
- To connect to the AFS server, Server Name should be changed to sftp.itd.umich.edu. The URL will automatically update to sftp://sftp.itd.umich.edu.
Please note: Port 22 should not be changed. If the Port is changed you will not be able to connect.
- On the Username line: type in your username. Your username is your U-M uniqname. Do not enter your email address. If you include ‘@umich.edu’ you will get an error message when you try to connect.
- On the Password line: type your UMICH (Level-1) password.
- SSH Private Key should remain set to None.
- If you are using macOS - Click the box next to Add to Keychain.
- Note The Keychain stores sensitive information therefore so username and password don't need to be typed in each time.
- Click the Login or Connect button. Cyberduck will connect to the server.
- The Unknown Fingerprint message below may appear when you first try to connect to the server, if this happens click Allow to continue. (To prevent being re-prompted with this message, check the "Always" box.)
- A window will pop up prompting to Provide additional login credentials to authenticate with Duo two-factor. Follow the instructions in the window to enter a passcode, or select the option for Duo push, phone call, or SMS passcodes to complete the login process.
Setting up a Bookmark for the sftp.itd.umich.edu site for quicker access
- With your connection now open to sftp.itd.umich.edu, click on Bookmark in the menu, and select New Bookmark.
- This should automatically fill in the details of your current connection.
- The bookmark can then be accessed easily when you open up Cyberduck again from the main page, or the Bookmark menu item.
Creating Folders in Cyberduck
Please note: Avoid using spaces in folder names.
- To create new folders, click the File menu.
- Select New Folder.
- Enter the name of your new folder.
Viewing Files and Contents
Cyberduck unfortunately doesn’t allow you to view files without downloading them to your local computer.
- Select a file you would like to view. Double click the file to download. A message will appear saying download is complete.
- Double-click on the file downloaded. There will be 2 copies of the file; one in AFS and another one in the download window. Note If you have done this twice, it will open up the Overwrite window. Select Continue.
- To remove the document and put it in Trash:
- Windows users - click Remove from the taskbar at the top of the transfer window.
- macOS - click the file and select move to Trash.
Downloading Files and Contents
- Cyberduck will allow you to transfer a single file or an entire folder. The Download Folder specifies the folder on your computer that you would like to automatically download.
- Select the file or folder you would like to download and drag the contents to your desktop or a location of your choice. Note You can stop downloading of files by clicking stop above the transfer tab.
- Once downloaded you can open the files or folders.
Uploading Files
- Select Upload from the taskbar in Cyberduck.
- From the Open window, select the file that you want to upload.
- Click Choose.
Please note: You also have the option to drag and drop files into the SFTP window from your computer. It will open the Transfer window with Cyberduck. The file will be highlighted in the SFTP window.
Moving Files
The Browser window is the main part of the application window in Cyberduck. The folders and files that you see in the Browser window can be thought of as a Finder (Mac) or Explorer (PC) window for your FTP server. Therefore, transferring files with Cyberduck simply involves dragging files from one window to another. Select File to move.
Transferring Files
The Transfers window allows you to track the status of file transfers. The Transfer window is located on the taskbar of Cyberduck. The Transfers window will display:
- The direction of the transfer (noted with an arrow pointing up or down)
- The transferred file name
- The status of the transfer (Transferring, Complete, Incomplete)
- The size of the file
- Deleting Files
- Select File or Folder to delete.
- Right Click on the file or folder.
- Select Delete or press delete on your computer.
Syncing a locally downloaded folder to your AFS version of that folder
- Download the folder to your local computer that you would like to make changes in, and then use that local copy to keep your AFS version up to date.
- Make any changes in the folder that you would like to make and save them locally in that folder you downloaded. (You do not need to have Cyberduck open and active for this step once the folder has been downloaded locally.)
- If you do not have Cyberduck open and connected, open up Cyberduck and connect to the sftp.itd.umich.edu server.
- From the File… menu, click on Synchronize… which will open up a file browser in the Cyberduck window, for you to navigate to the folder on your local computer to synchronize. Highlight the folder and click Choose.
- A Transfers window will open, and allow you to choose in a dropdown how you would like to keep the files up to date for this transfer. The options are:
- Download - Download changed and missing files
- Upload - Upload changed and missing files
- Mirror - Download and upload, which keeps the folders in sync in both places. This can be a good choice if you plan to use this feature on multiple computers with that particular folder.
- Once you've made your selection in the dropdown whether to Download, Upload, or Mirror, click Continue.
- The Transfers window will show the progress and let you know when the Sync is complete.
Resources