Last active
August 19, 2019 18:02
-
-
Save kolygri/c905f47f013e9d494843ed850ab317f9 to your computer and use it in GitHub Desktop.
mount/unmount remote directory
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
For mounting the remote directory use: | |
sudo sshfs -o allow_other <user_name>@<machine_name>:<abs_path_to_dir>/ ~/Desktop/<local_dir>/ | |
When unmounting: | |
sudo umount -f ~/Desktop/<local_dir>/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment