SFTP mount in Mac OS X

From OCF Help

Jump to: navigation, search

Creating an SFTP mount in Mac OS X (with Macfusion)

Unlike Linux, the Connect to Server... function (command+K) in OS X's Finder does not support SFTP. For now, if you want to create a mount to your OCF files in OS X, you will have to use a third party application like MacFUSE (free) + Macfusion (free) or ExpanDrive (commercial). The benefit of a mount is that it behaves more or less like an ordinary folder. This will give you a GUI solution to managing your OCF files through file browser functionality like the ability to drag-and-drop files between the local machine and the SFTP server.

Here are steps to how it's done using Macfusion with MacFUSE:

  1. Install MacFUSE (an installer package).
  2. Install Macfusion (a .app file)
  3. Click the [+] plus icon to add a new mount, and select SSHFS.
    screenmacfusion1.png
     
  4. Input the settings obtained from our SSH documentation.
    • Host: ocf.berkeley.edu
    • User Name: <yourusername>
    • Password: (your OCF password)
    • Path: Type your home directory path for this. It follows this format: /home/<first letter of username>/<first 2 letters of username>/<yourusername>
    • Example: /home/g/go/gordeon
    screenmacfusion2.png
     
  5. Click the Mount button.
    screenmacfusion3.png
     
  6. You may be asked: Macfusion wants to use your confidential information stored in "Macfusion: OCF" in your keychain. Do you want to allow access to this item? You can select Allow or Always Allow, depending on whether you are on your own computer.
  7. The share will now appear as an icon on your desktop with the host as the name. In this case, it's ocf.berkeley.edu. To connect to it, just double-click it.
    screenmacfusion5.png
     
  8. Your files will appear like a folder in Finder You are now logged in and may transfer files.
    screenmacfusion6.png
     
  9. When you are finished, to unmount the network share, click the Unmount button in the main Macfusion window.
    screenmacfusion4.png

See also