SSHFS allows you mount remote SLAC Unix storage on your local desktop or laptop.  You can use SSHFS from anywhere (eg, home or remote network).

Authentication is done using your SLAC Unix username and password.

SSHFS uses the SFTP protocol and SSH authentication.  See https://github.com/libfuse/sshfs for more information.

 


 

CentOS 7 Installation:

sudo yum install sshfs

this will install the fuse-sshfs RPM which comes from the EPEL software repository (Extra Packages for Enterprise Linux).
The fuse-sshfs dependencies, fuse and fuse-libs, come from the CentOS base software repository.

Usage:

mkdir ~/nfs
sshfs $USER@rhel6-64.slac.stanford.edu:/nfs ~/nfs # mount SLAC NFS on your desktop/laptop
mkdir ~/afs/slac
sshfs rhel6-64.slac.stanford.edu:/afs/slac.stanford.edu ~/afs/slac # mount SLAC AFS on your desktop/laptop

Make sure $USER is your SLAC Unix username.  If your local desktop or laptop username is different, replace $USER with your SLAC Unix username.
The first SSHFS command above will mount rhel6-64.slac.stanford.edu:/nfs at your local mount point.  now you can access SLAC's /nfs/slac/... or /nfs/farm/... like this:

cd ~/nfs/slac
cd ~/nfs/farm
cd ~/afs/slac

To unmount when you are finished:

cd
fusermount -u ~/nfs # CentOS 7
umount ~/nfs # MacOS

cd
fusermount -u ~/afs/slac # CentOS 7
umount ~/afs/slac # MacOS

Additional Notes:

See also:

https://confluence.slac.stanford.edu/display/SCSPub/Samba+Unix+Storage+Access
https://mountainduck.io/
https://cyberduck.io/