Skip to content

Instantly share code, notes, and snippets.

@D4R4
Created June 2, 2019 09:32
Show Gist options
  • Save D4R4/f5b45bee35831bdbeb4787e94f4683d8 to your computer and use it in GitHub Desktop.
Save D4R4/f5b45bee35831bdbeb4787e94f4683d8 to your computer and use it in GitHub Desktop.
Mount SSHFS volumes in fstab with ssh key, change USER, path UID and GUID
sshfs#[email protected]:/data/www /mnt/logs/ fuse IdentityFile=/home/USER/.ssh/id_rsa,uid=UID,gid=GUID,users,idmap=user,noatime,allow_other,_netdev,reconnect,ro 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment