2026-04-13 13:08:32 -07:00
|
|
|
# For now, deprecated in favor of docker tunnel
|
|
|
|
|
|
2026-04-13 12:31:45 -07:00
|
|
|
[Unit]
|
|
|
|
|
Description=AutoSSH tunnel from spoke to hub
|
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Environment="AUTOSSH_GATETIME=0"
|
|
|
|
|
ExecStart=/usr/bin/autossh -M 0 -NT -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -R 11111:localhost:22 -i /home/armbian/.ssh/armbian-brie-202604 armbian@oily.dad
|
|
|
|
|
Restart=always
|
|
|
|
|
RestartSec=10
|
|
|
|
|
User=armbian
|
|
|
|
|
|
|
|
|
|
[Install]
|
2026-04-13 13:08:32 -07:00
|
|
|
WantedBy=multi-user.target
|