2025-03-14 21:59:59 -06:00
|
|
|
# sshfs
|
|
|
|
|
|
|
|
|
|
> Filesystem client based on SSH.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/libfuse/sshfs/blob/master/sshfs.rst>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Mount remote directory:
|
|
|
|
|
|
|
|
|
|
`sshfs {{username}}@{{remote_host}}:{{remote_directory}} {{mountpoint}}`
|
|
|
|
|
|
|
|
|
|
- Unmount remote directory:
|
|
|
|
|
|
|
|
|
|
`umount {{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}}`
|