Created
May 13, 2014 19:18
-
-
Save develop7/bdab20c0d9658f0d2b08 to your computer and use it in GitHub Desktop.
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
[Unit] | |
Description=foo ssh tunnel | |
[Service] | |
ExecStart=/usr/bin/ssh -N -L3307:host1.example.com:3306 shell.example.com | |
[Install] | |
Also=foo-tunnel.socket |
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
[Unit] | |
Description=foo ssh tunnel socket | |
[Socket] | |
ListenStream=127.0.0.1:3307 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment