fixed up the reverse tunnel with auriga so that it starts only after sshd

main
Shoofle 3 years ago
parent 53d5d79a64
commit 84e21e5e76
  1. 4
      ssh_auriga_tunnel.service

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

Loading…
Cancel
Save