diff --git a/ssh_auriga_tunnel.service b/ssh_auriga_tunnel.service index a7f2754..3f39328 100644 --- a/ssh_auriga_tunnel.service +++ b/ssh_auriga_tunnel.service @@ -1,12 +1,14 @@ [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=default.target +WantedBy=multi-user.target