added an ssh reverse tunnel to auriga

main
Shoofle 3 years ago
parent 022abb407e
commit 53d5d79a64
  1. 2
      cygnus_log
  2. 12
      ssh_auriga_tunnel.service

@ -33,3 +33,5 @@ if i want to restart them i can do `systemctl restart cygnus`, and perhaps if i
minor note but in the scripts to be run by the system, make sure that things don't depend on environment variables and such unless you really want it. for example use the explicit full path to a program instead of just `fortune` use `/usr/games/fortune` because the environment configures where to look for executables.
installed yt-dl (through apt) and then yt-dlp because yt-dl didn't work https://github.com/yt-dlp/yt-dlp#installation
symlinked the ssh tunnel service into /etc/systemd/system/ so that i get an always-on ssh tunnel!!!

@ -0,0 +1,12 @@
[Unit]
Description=Make a tunnel so that auriga can ssh here, via bog standard ssh stuff
After=network.target
[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
Restart=always
RestartSec=5s
[Install]
WantedBy=default.target
Loading…
Cancel
Save