SSHFS with SSH Keys

You simply have to chmod your keyfile and use a some extra options

  • chmod 600 $HOME/.ssh/yourkeyfile
  • mkdir $HOME/mount-local
  • sshfs -o "IdentityFile=$HOME/.ssh/yourkeyfile" $HOME/mount-local

other stuff

  • -o debug (enable debug)
  • -o ro (read only)
  • -p 22 (change port)
DigitalOcean Referral Badge
Keep my site online & receive a $100 60-day credit at DigitalOcean for your VPS Hosting
Cheaper Games on Instant-Gaming
Proudly published with Ghost | Header Image by GUWEIZ@DeviantArt Creative Commons Licence