Practice and Apply (Freesurfer)
Mounting /project on the Server via SSHFS
- Read the following page to become familiar with the process (https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh)
- Download and install the required SSHFS components on your system:
- Mac - install both macFUSE and SSHFS, restart after installation (https://osxfuse.github.io)
- Windows - install both WinFSP and SSHFS-Win (https://github.com/winfsp/sshfs-win)
- Create a mount point (i.e., directory) on your local machine (e.g., the lab iMac or your laptop)
Use the following command with your server credentials to mount the remote volume on luria:
sshfs -o default_permissions,local,volname=project @10.18.8.13:/mnt/biblab_array/project
<serverid>@10.18.8.13:/mnt/biblab_array/project <yourlocalmountpoint>- You can create an alias in your .bashrc file to avoid typing the above command each time you log into a lab machine, for example:
- alias brenda='sshfs -o default_permissions,local,volname=project <username>@10.18.8.13:/mnt/biblab_array/project /Users/<username>/project/'
- In the example above, you would only need to type “brenda” and the entire command will run
Finding the Correct Subjects to Edit