1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/sshfs.md
Tevfik U. Dincer 6f3d5999b7 sshfs: Added follow symbolic links
This is not obvious in the man page, and is very useful.
2018-07-10 09:31:55 +05:30

535 B

sshfs

Filesystem client based on ssh.

  • Mount remote directory:

sshfs {{username}}@{{remote_host}}:{{remote_directory}} {{mountpoint}}

  • Unmount remote directory:

fusermount -u {{mountpoint}}

  • Mount remote directory from server with specific port:

sshfs {{username}}@{{remote_host}}:{{remote_directory}} -p {{2222}}

  • Use compression:

sshfs {{username}}@{{remote_host}}:{{remote_directory}} -C

  • Follow symbolic links:

sshfs -o follow_symlinks {{username}}@{{remote_host}}:{{remote_directory}} {{mountpoint}}