Skip to content

Mount a remote file system

Jeff Law edited this page Jul 12, 2019 · 4 revisions

To mount the file system on the client machines, use the following commands:

# if sshfs is not installed yet on the client:
sudo apt-get install sshfs

# make the mount directory on the client:
sudo mkdir /data; sudo chmod 777 /data;
mkdir -p /data/inputs/single-cell

# now mount the directory
sudo sshfs -o allow_other <user>@<system>:/data/inputs/single-cell /data/inputs/single-cell

#example:
sudo sshfs -o allow_other [email protected]:/data/inputs/single-cell /data/inputs/single-cell

The -o allow_other option allows other users to access the mounted folder.

Clone this wiki locally