Created
May 12, 2014 18:09
-
-
Save vsudilov/ba05178f31079957e855 to your computer and use it in GitHub Desktop.
filesystem over ssh tunnel through gateway (ssh+sshfs)
This file contains hidden or 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
ssh -f -N -L 1233:remote.host:22 gateway.host | |
sshfs -p 1233 vsudilov@localhost:/nfs_mount /local/mountpoint -o reconnect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this, saved me a lot of time!