cygnus/ssh_auriga_tunnel.service

15 lines
454 B
SYSTEMD
Raw Permalink Normal View History

2022-02-11 23:53:44 -05:00
[Unit]
Description=Make a tunnel so that auriga can ssh here, via bog standard ssh stuff
After=network.target
After=sshd.service
2022-02-11 23:53:44 -05:00
[Service]
Type=simple
ExecStart=/usr/bin/ssh -g -N -T -o VerifyHostKeyDNS=no -o "ServerAliveInterval 10" -o StrictHostKeyChecking=no -o "ExitOnForwardFailure yes" -R 8090:localhost:22 shoofle@shoofle.net -i /home/shoofle/.ssh/cygnus_to_auriga
User=shoofle
2022-02-11 23:53:44 -05:00
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target