[ sshfs ] (CLI) Mount a remote filesystem using SFTP

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
Post Reply
User avatar
outkastm
Posts: 1192
Joined: 29 Dec 2020, 23:52

[ sshfs ] (CLI) Mount a remote filesystem using SFTP

Post by outkastm »

Image

About: https://github.com/libfuse/sshfs

Category:
Applicable models: x.64 series

Applicable TOS5: 5.1.37 or later versions
Applicable TOS6: 6.0.124 or later versions
App download: https://tmnascommunity.eu/download/sshfs
Required packages:
OkmSSHD


App WebUI for additional settings can be accesses at:

TOS5 & TOS6: click on Support & Help from app description inside the App Center

About
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.

Development Status
SSHFS does not have any active, regular contributors, and there are a number of known issues (see the bugtracker).
The current maintainer continues to apply pull requests and makes regular releases, but unfortunately has no capacity to do any development beyond addressing high-impact issues.

How to use

Code: Select all

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 asks 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:

Code: Select all

umount mountpoint
Post Reply

Return to “Developer Discussion Room”