-
-
Save ellocofray/2813731c445f04eea3d62ee5e822be9e to your computer and use it in GitHub Desktop.
filesystem over ssh tunnel through gateway (ssh+sshfs)
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
ssh -f -N -L LOCAL_PORT:FROM_HOST_TO_WHERE:REMOTE_PORT gateway.host | |
sshfs -p LOCAL_PORT user@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