Advertisement
Guest User

Untitled

a guest
Feb 7th, 2023
999
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1.  
  2. [Unit]
  3. Description=Persistent SSH Tunnel from TCP/8096 on this server to port TCP/8096 to jellyfin.YOURDOMAIN.COM (for encrypted traffic)
  4. After=network.target
  5.  
  6. [Service]
  7. Restart=on-failure
  8. RestartSec=5
  9. ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -R 127.0.0.1:8096:127.0.0.1:8096 [email protected]
  10.  
  11. [Install]
  12. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement