cygnus/ssh_auriga_tunnel.service

15 lines
454 B
Desktop File

[Unit]
Description=Make a tunnel so that auriga can ssh here, via bog standard ssh stuff
After=network.target
After=sshd.service
[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
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target