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

This commit is contained in:
Shoofle 2022-02-13 14:04:38 -05:00
parent 53d5d79a64
commit 84e21e5e76

View File

@ -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