Skip to content

Instantly share code, notes, and snippets.

@panigrc
Last active May 23, 2018 09:30
Show Gist options
  • Save panigrc/f95cdb3343fb4d0a86c4e7ae85841d41 to your computer and use it in GitHub Desktop.
Save panigrc/f95cdb3343fb4d0a86c4e7ae85841d41 to your computer and use it in GitHub Desktop.
SSHFS to mount a remote dir
sshfs -C -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,IdentityFile=/home/me/.ssh/id_rsa user@server:/home/user/dir dirshare/
# uses SSHFS to mount a remote dir - which should mostly survive breaks in connection. mostly.
# from here https://twitter.com/wuxmedia/status/996059153004146688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment