TOOL » LINUX » SSH

Sshfs

Usage

Mount remote linux as readonly:

shell
sshfs user@host:/home/user /media/sshfs/somehost -o nodev,nosuid,noexec,idmap=user,ro,reconnect
fusermount3 -u /media/sshfs/somehost

Mount android file system using port 2222 and applying mask:

shell
sshfs user@host: /media/sshfs/android -p 2222 -o nodev,nosuid,noexec,idmap=user,reconnect,umask=137
fusermount3 -u /media/sshfs/android
Mask valueAllowed permissions
0rwx
1rw-
2r-x
3r--
4-wx
5-w-
6--x
7---