added an ssh reverse tunnel to auriga
This commit is contained in:
parent
022abb407e
commit
53d5d79a64
@ -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!!!
|
||||
|
12
ssh_auriga_tunnel.service
Normal file
12
ssh_auriga_tunnel.service
Normal file
@ -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…
Reference in New Issue
Block a user