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