Aller au contenu

SSHFS

Mounting the underlying EOS storage over an SSH connection using SSHFS may be an effective way to work with a File System interface, especially when outside of the CERN network (whereas inside the CERN network we recommend alternatives such as CIFS/SMB).

The most straightforward way to mount EOS via SSH is to use lxplus, as follows:

sshfs username@lxplus.cern.ch:/eos /your/local/mountpoint \
-o volname=EOS \
-o reconnect \
-o allow_other \
-o IdentityFile=~/.ssh/id_rsa \
-o defer_permissions \
-o auto_cache \
-o negative_vncache \
-o noappledouble \
-o noapplexattr

Note that for this method to work, you need to correctly specify your IdentityFile. In addition, on MacOS you should use macfuse, which can be installed via brew install macfuse on a Terminal.