Skip to content

Instantly share code, notes, and snippets.

@fiedl
Created January 5, 2014 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fiedl/8267386 to your computer and use it in GitHub Desktop.
Save fiedl/8267386 to your computer and use it in GitHub Desktop.
mount ssh folder with rw access for my own user
# install tools (Mac OS)
brew install sshfs
# mount ssh folder with rw access for my own user
mkdir /Volumes/foo
sshfs fiedl@192.168.0.105:/path/to/folder /Volumes/foo -o idmap=user -o uid=$(id -u) -o gid=$(id -g)
# References
#
# * http://wiki.ubuntuusers.de/FUSE/sshfs
# * http://stackoverflow.com/questions/12510421/sshfs-for-osx-10-8-mountain-lion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment