Created
November 28, 2019 17:17
-
-
Save Tasssadar/cc919977b7102e0b35fd04960a4783fb 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=Octoprint tunel to tasemnice | |
After=network.target | |
[Service] | |
User=autossh | |
Type=forking | |
Environment=AUTOSSH_LOGFILE=/home/autossh/autossh.log AUTOSSH_PIDFILE=/home/autossh/autossh.pid | |
PIDFile=/home/autossh/autossh.pid | |
ExecStart=/usr/bin/autossh -f -M 10984 -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -R 6661:localhost:80 -N [email protected] | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment