autossh/my.conf
Greg Freemyer 12da744214 Accepting request 305305 from home:gregfreemyer:branches:security
Make autossh a instantiated service in systemd environments.  Add a readme that details the installation.

OBS-URL: https://build.opensuse.org/request/show/305305
OBS-URL: https://build.opensuse.org/package/show/security/autossh?expand=0&rev=19
2015-05-11 01:16:35 +00:00

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