SSHFS allows you to securely mount a remote file system to your local computer.
Support the channel:
BTC - 3NzWDDH3n5PsBKqWJyAb7rvsGvJKxcAPFv
Follow me:
SecureRandom on YouTube -
/ @securerandom5420
SecureRandom on LBRY / Odysee -
https://odysee.com/@SecureRandom:1
--------------------------------------------------------------------------------------
Install SSHFS on a Debian based distro:
sudo apt install sshfs
Mount a remote file system:
sshfs USERNAME@HOSTNAME:/REMOTE/DIRECTORY /LOCAL/MOUNTPOINT
Unmount the directory:
fusermount -u /LOCAL/MOUNTPOINT
To auto mount at startup enter the below into /etc/fstab:
USERNAME@HOSTNAME:/REMOTE/DIRECTORY /LOCAL/MOUNTPOINT fuse.sshfs x-systemd.automount,_netdev,user,idmap=user,transform_symlinks,identityfile=/home/USERNAME/.ssh/id_rsa,allow_other,default_permissions,uid=USER_ID_N,gid=USER_GID_N 0 0