Created
January 5, 2019 07:11
-
-
Save iRhonin/a80645f3fe4a33c729d9d28829a6897a to your computer and use it in GitHub Desktop.
Unit file for ssh proxy
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
[Unit] | |
Description=nl SSH proxy service | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
ExecStart=/usr/bin/ssh -D 1234 -C -N -F %h/.ssh/config vps-nl -o ServerAliveInterval=1 | |
ExecReload=/bin/kill -s HUP | |
ExecStop=/bin/kill -s TERM | |
Type=idle | |
Restart=always | |
RestartSec=1 | |
StartLimitBurst=100 | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment