Last active
December 9, 2016 19:55
-
-
Save colstrom/b1d0cc2c96f2959199f4dc1113af18b2 to your computer and use it in GitHub Desktop.
service-ssh-tunnel: creates an SSH tunnel
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
| name = ssh-tunnel | |
| author = Chris Olstrom | |
| license = MIT | |
| provides = service/ssh-tunnel | |
| requires | |
| command/execlineb | |
| command/ssh |
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
| #!/bin/execlineb | |
| ssh -N -R 2222:localhost:22 $SSH_TUNNEL_ENDPOINT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment