SSHFS: Difference between revisions
Appearance
Fix template usage |
m add links to filesystem and ssh |
||
Line 1: | Line 1: | ||
[https://github.com/libfuse/sshfs SSHFS] is a file system that allows users to mount and access remote files over SSH (Secure Shell) connections, providing secure and encrypted access to remote data. | [https://github.com/libfuse/sshfs SSHFS] is a [[Filesystems|file system]] that allows users to mount and access remote files over [[SSH]] (Secure Shell) connections, providing secure and encrypted access to remote data. | ||
== Configuration == | == Configuration == |
Revision as of 06:03, 16 May 2025
SSHFS is a file system that allows users to mount and access remote files over SSH (Secure Shell) connections, providing secure and encrypted access to remote data.
Configuration
Following example configuration will mount the remote filesystem /mydata
of the host 10.0.1.100
at the destination /mnt
. Authentication is done via the user myuser
and the private key /root/.ssh/id_ed25519
.
fileSystems."/mnt" = {
device = "myuser@10.0.1.100:/mydata";
fsType = "sshfs";
options = [
"nodev"
"noatime"
"allow_other"
"IdentityFile=/root/.ssh/id_ed25519"
];
};
Note: You will also need to enable SFTP on the server you are trying to connect to.
See also
- Rclone, which also supports mounting via SFTP. Possibly a more robust and stable implementation.