Created
November 18, 2010 22:07
-
-
Save greymouser/705741 to your computer and use it in GitHub Desktop.
blog-ssh-2-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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