Skip to content

Instantly share code, notes, and snippets.

@kolygri
Last active August 19, 2019 18:02
Show Gist options
  • Save kolygri/c905f47f013e9d494843ed850ab317f9 to your computer and use it in GitHub Desktop.
Save kolygri/c905f47f013e9d494843ed850ab317f9 to your computer and use it in GitHub Desktop.
mount/unmount remote directory
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