Skip to content

Instantly share code, notes, and snippets.

@panigrc
panigrc / sshfs_mount_remote_dir.sh
Last active May 23, 2018 09:30
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