tldr/pages/common/sshfs.md

20 lines
425 B
Markdown
Raw Normal View History

2014-09-11 12:28:06 +01:00
# SSHFS
> Filesystem client based on ssh.
2014-09-11 12:28:06 +01:00
- Mounting remote directory:
2014-09-11 12:28:06 +01:00
`sshfs {{username}}@{{remote_host}}:{{remote_directory}} {{mountpoint}}`
- Unmounting remote directory:
2014-09-11 12:28:06 +01:00
`fusermount -u {{mountpoint}}`
- Mounting remote directory from server with specific port:
2014-09-11 12:28:06 +01:00
`sshfs {{username}}@{{remote_host}}:{{remote_directory}} -p {{2222}}`
- Use compression:
2014-09-11 12:28:06 +01:00
`sshfs {{username}}@{{remote_host}}:{{remote_directory}} -C`