Skip to content

Instantly share code, notes, and snippets.

@vsudilov
Created May 12, 2014 18:09
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vsudilov/ba05178f31079957e855 to your computer and use it in GitHub Desktop.
Save vsudilov/ba05178f31079957e855 to your computer and use it in GitHub Desktop.
filesystem over ssh tunnel through gateway (ssh+sshfs)
ssh -f -N -L 1233:remote.host:22 gateway.host
sshfs -p 1233 vsudilov@localhost:/nfs_mount /local/mountpoint -o reconnect
@avnishks
Copy link

Thank you for this, saved me a lot of time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment