This commit is contained in:
JMARyA 2023-12-04 11:02:23 +01:00
commit c5cd492449
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
475 changed files with 27928 additions and 0 deletions

View file

@ -0,0 +1,26 @@
---
arch-wiki: https://wiki.archlinux.org/title/SSHFS
obj: filesystem
---
# SSHFS
SSHFS is a FUSE Filesystem based on the [SSH](../../applications/SSH.md) and SFTP Protocol.
## Mounting
```shell
sshfs [user@]host:[dir] mountpoint [options]
```
## Automount
**fstab entry:**
```
user@host:/remote/path /local/path fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/user/.ssh/id_rsa,allow_other,reconnect 0 0
```
## Options
```
-p [PORT] - SSH Port
-C - Compression
-o reconnect - reconnect
-o idmap=TYPE - TYPE = none, user, file | Map UID and GIDs
-o follow_symlinks - Symlinks
```