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
2016-01-08 09:38:59 +01:00

425 B

SSHFS

Filesystem client based on ssh.

  • Mounting remote directory:

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

  • Unmounting remote directory:

fusermount -u {{mountpoint}}

  • Mounting remote directory from server with specific port:

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

  • Use compression:

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