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)
Easily deploy an SSD cloud server on @DigitalOcean in 55 seconds. Sign up using my link and receive $10 in credit
Proudly published with Ghost | Theme based on Draugur | Header Image by GUWEIZ@DeviantArt
Creative Commons Licence