Created
February 20, 2018 22:08
-
-
Save farhany/eea2d612b56aa672dce11e2ffe399666 to your computer and use it in GitHub Desktop.
fuse on Mac over ssh
This file contains hidden or 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
| brew cask install osxfuse | |
| brew install sshfs | |
| sudo sshfs -o allow_other,defer_permissions,IdentityFile=~/.ssh/id_rsa user@host:/remotefolder/ /localfolder | |
| mount | |
| umount user@host:/remotefolder/ | |
| pgrep -lf sshfs | |
| kill -9 <pid_of_sshfs_process> | |
| sudo umount -f <mounted_dir> | |
| # Source: https://susanqq.github.io/jekyll/pixyll/2017/09/05/remotefiles/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment