Created
May 31, 2018 18:26
-
-
Save KellerFuchs/a911d567383f6599205451335e64eb31 to your computer and use it in GitHub Desktop.
Socket-activated SSH forwarding
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
[Socket] | |
ListenStream=127.0.0.1:6666 | |
Accept=true | |
[Install] | |
WantedBy=sockets.target |
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
[Service] | |
ExecStart=/usr/bin/ssh -W localhost:6667 tilde.town | |
StandardInput=socket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment