3 ms·
Details: [Unit] Description=SSH remote forwarding to here After=network-online.target Requires=network-online.target [Service] User=au
by emmelaich 11y ago
Details:
[Unit]
Description=SSH remote forwarding to here
After=network-online.target
Requires=network-online.target
[Service]
User=autossh
ExecStart=/bin/ssh -v -N -o PasswordAuthentication=no -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -R 2222:localhost:22 -o TCPKeepAlive=yes -p 222 -i /home/autossh/.ssh/autossh autossh@some-hostname-redacted.com
Restart=on-failure
RestartSec=1200
[Install]
WantedBy=multi-user.target