Skip to content

Instantly share code, notes, and snippets.

@hieunba
Created July 12, 2017 10:47
Show Gist options
  • Save hieunba/e9614dcb6dccbd30a1c3c16ba132dff8 to your computer and use it in GitHub Desktop.
Save hieunba/e9614dcb6dccbd30a1c3c16ba132dff8 to your computer and use it in GitHub Desktop.
Mount remote filesystem over SSH with sshfs - Mac OSX
Steps to have remote filesystem mounted locally
Requires:
brew
Mac OS X
Tested:
Mac OSX Sierra
Steps
1 - Get brew
You can get it here: https://brew.sh/
2 - Get osxfuse
This requires brew, so make sure step 1 was done successfully
$ brew cask install osxfuse
3 - Get sshfs
$ brew install sshfs
An example of mounting filesystem
$ sshfs server:/var/www /tmp/www
Have fun!
References
https://brew.sh/
https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment