Skip to content

Instantly share code, notes, and snippets.

@greymouser
Created November 18, 2010 22:07
Show Gist options
  • Select an option

  • Save greymouser/705741 to your computer and use it in GitHub Desktop.

Select an option

Save greymouser/705741 to your computer and use it in GitHub Desktop.
blog-ssh-2-2
VOLNAME=myremotehome
SRVNAME=my.fake.com
mkdir -p $HOME/Volumes/$VOLNAME
sshfs $SRVNAME: $HOME/Volumes/$VOLNAME -oauto_cache,reconnect,volname=$VOLNAME
# Did it work?
ls $HOME/Volumes/$VOLNAME
/sbin/umount $HOME/Volumes/$VOLNAME # or drag to eject button from desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment