Skip to content

Instantly share code, notes, and snippets.

@jverdeyen
Created April 2, 2013 10:13
Show Gist options
  • Save jverdeyen/5291231 to your computer and use it in GitHub Desktop.
Save jverdeyen/5291231 to your computer and use it in GitHub Desktop.
server="servername"
user="username"
path="/home/username/"
mount_point="/Volumes/$server"
mkdir -p "$mount_point"
/usr/local/bin/sshfs "$user@$server:$path" "$mount_point" -o "auto_cache,reconnect,negative_vncache,noappledouble,volname=$server,CheckHostIP=no,StrictHostKeyChecking=no"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment