Please help me make this page better! Send recommendations to support-neuro@berkeley.edu.

Mount cluster data

You may mount data from the Neuro Cluster to your desktop. That way, you can use software on your local computer with data from the neuro cluster.

SSHFS

SSHFS is a program to access remote data securely, available for Mac and linux. If you have a Windows OS, please contact me for documentation and assistance.

  1. If you’re using a Mac, install both MacFUSE and SSHFS from from osxfuse.github.io.

  2. If you haven’t done so already, enable 2-step authentication

  3. Open a terminal window and create a local folder to mount data from the neuro cluster, for example:

    mkdir /tmp/neurocluster-home
    
  4. Mount the Neuro cluster directory via sshfs using the syntax:

    sshfs -o idmap=user <username>@<servername>:<remote_directory> <mount_point>
    

    For example,:

    sshfs -o idmap=user me@nx2.neuro.berkeley.edu:/home/jagust/me /tmp/neurocluster-home
    
  5. If you get timeout errors, you may add additional options:

    sshfs -o idmap=user,reconnect,ServerAliveInterval=15,uid=$(id -u),gid=$(id -g),ServerAliveCountMax=3 <username>@<servername>:<remote_directory> <mount_point>
    
  6. when you’re finished, unmount the local directory with the ‘fusermount -u’ command, for example:

    fusermount -u /tmp/neurocluster-home