(Text based on https://openrepos.net/content/olebr/sshfs-fuse-2)
SSHFS allows you to mount a remote filesystem using SFTP. Most SSH servers support and enable this SFTP access by default, so SSHFS is very simple to use - there's nothing to do on the server-side.
How to use
Once sshfs is installed (see next section) running it is very simple:
sshfs [user@]hostname:[directory] mountpoint
It is recommended to run SSHFS as regular user (not as root). For this to work the mountpoint must be owned by the user. If username is omitted SSHFS will use the local username. If the directory is omitted, SSHFS will mount the (remote) home directory. If you need to enter a password sshfs will ask for it (actually it just runs ssh which ask for the password if needed).
Also many ssh options can be specified (see the manual pages for sftp(1) and ssh_config(5)), including the remote port number (-oport=PORT)
To unmount the filesystem:
fusermount -u mountpoint
The -o allow_other is needed to see the folders from different apps (thanks caribe for the tip). If You need custom ports etc. update Your .ssh/config
About this package
Just a rebuild of fuse-sshfs 3.7.2 straight from Fedora, as the existing builds don't have aarch64 builds so would not work on my shiny new Xperia 10 II with 64 bit Sailfish OS. :)
Fedora distgit for fuse-sshfs:
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild