Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.01 KB

sshfs.md

File metadata and controls

44 lines (28 loc) · 1.01 KB

SSHFS

sshfs is a way that you can view files on a server in your own finder as if they are on your computer.

Example command:

sshfs [email protected]:/home/obotvinnik/projects/tasic2016/analysis/tasic_v1/majiq_v1 /home/Users/olga/majiq_v1

Broken down, the command is:

sshfs [email protected]:[folder that you want from the server] [where you want to see it on your laptop]

Follow symbolic links

Normally, sshfs doesn't follow symbolic links To follow any symlinks (soft links) that you make. Here's the command to make it do that:

sshfs -o follow_symlinks [email protected]:/oasis/tscc/scratch/obotvinnik tscc

Glitches to be aware of

  • Volumes may get unmounted
  • Can't use it as root
  • If you mount a volume, then switch users, the other user can still access the volume (unsafe)

Here's the command I've been using:

sshfs [email protected]:/home/obotvinnik $HOME/Desktop/tscc

Unmounting:

umount ~/Desktop/tscc

or drag it to the trash