Mounting cluster directory
Windows
Detailed instructions: https://github.com/billziss-gh/sshfs-win
Requirements
Download and install WinFSP: https://github.com/billziss-gh/winfsp/releases/latest (winfsp-.x.x.xxxxx.msi)
"WinFsp is a set of software components for Windows computers that allows the creation of user mode file systems. In this sense it is similar to FUSE (Filesystem in Userspace), which provides the same functionality on UNIX-like computers."
Downlaod and install SSHFS-Win: https://github.com/billziss-gh/sshfs-win/releases (sshfs-win-x.x.xxxxx-x64.msi)
Once installed, open a File Explorer. Right click This PC > Map network drive...
In the pop-up prompt, use the following to set up mount:
\\sshfs\REMUSER@HOST
Replace REMUSER with your cluster username and HOST with ghpcc06.umassrc.org
Example:
\\sshfs\py18w@ghpcc06.umassrc.org
This will mount your HOME directory. In order to mount nl or project directory, add the sub-directory relative to your home directory.
Example:
\\sshfs\py18w@ghpcc06.umassrc.org\..\..\project\umw_athma_pai\genomes
Cluster support staff recommends mounting project and nl separately.
MacOS
The process should be very similar for Macs using the following software.
https://github.com/osxfuse/osxfuse/wiki
https://github.com/osxfuse/osxfuse/wiki/SSHFS
Some MacOSs have some permissions that only allow for creating volumes into the /Volumes/ directory. After installing everything these are the steps to follow:
When mounting a SSH volume you need to create the mount point yourself. This has always been this way. You can create a mount point in /Volumes by running the following commands:
sudo mkdir /Volumes/sshfs
sudo chown username /Volumes/sshfs
To mount the file system run:
sshfs user@host:/path /Volumes/sshfs
Always remember to unmount it using umount /Volumes/sshfs