Skip to content

Instantly share code, notes, and snippets.

@strangesast
Created October 6, 2020 23:03
Show Gist options
  • Select an option

  • Save strangesast/3aef1ffdd83924971c2485728e378579 to your computer and use it in GitHub Desktop.

Select an option

Save strangesast/3aef1ffdd83924971c2485728e378579 to your computer and use it in GitHub Desktop.
Mount a directory over ssh
#!/bin/bash
sshfs $host:$remotepath $folder -o allow_other -o ro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment