Skip to content

fstab

UUID=[YOUR_VALUE]   /opt         ext4  defaults,errors=remount-ro,noatime 0       1

sshfs

# pattern
<SERVER_USER>@<SERVER>:/<SHARE> <MOUNTPOINT>  fuse.sshfs defaults,nosuid,nodev,noatime,uid=0,gid=0,default_permissions,allow_other  0  0

# example
[email protected]:/files /mnt/storage_files  fuse.sshfs defaults,nosuid,nodev,noatime,uid=0,gid=0,default_permissions,allow_other  0  0

and config in /root/.ssh/config

Host storage.local
    User uploader
    IdentityFile ~/.ssh/uploader_host-a