17 lines
534 B
Plaintext
17 lines
534 B
Plaintext
|
# Override and reset the Description to blank
|
||
|
Description=
|
||
|
# Then append my local description to the blank Description
|
||
|
Description=AutoSSH service for ssh reverse tunnel
|
||
|
|
||
|
# Override and reset ExecStart to blank
|
||
|
ExecStart=
|
||
|
|
||
|
# Append a legal command to create a normal encrypted tunnel
|
||
|
# ExecStart=/usr/bin/autossh -M 0 -NL 2222:localhost:2222 -o TCPKeepAlive=yes foo@bar.com
|
||
|
|
||
|
# OR
|
||
|
|
||
|
# Append a legal command to create a reverse encrypted tunnel
|
||
|
# ExecStart=/usr/bin/autossh -M 0 -NR 2222:localhost:2222 -o TCPKeepAlive=yes foo@bar.com
|
||
|
|