You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

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.  Since SSH authentication is used, passwordless GSSAPI also works.  GSSAPI is used if you have already done a local kinit on your desktop or laptop, and therefore have a SLAC Unix Kerberos Ticket Granting Ticket, or TGT, as seen with klist, and also have the correct SSH client configuration which attempts to use GSSAPI.

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

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 above SSHFS command 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

To unmount when you are finished:

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

 

 

  • No labels