Last active
May 23, 2018 09:30
-
-
Save panigrc/f95cdb3343fb4d0a86c4e7ae85841d41 to your computer and use it in GitHub Desktop.
SSHFS to mount a remote dir
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
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