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]
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
- 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
umount ~/Desktop/tscc
or drag it to the trash