Comment on Tunnelling a port from a separate computer
smileyhead@discuss.tchncs.de 9 months ago
SSH can do just that, example:
ssh -L 8080:localhost:8080 user@host
Comment on Tunnelling a port from a separate computer
smileyhead@discuss.tchncs.de 9 months ago
SSH can do just that, example:
ssh -L 8080:localhost:8080 user@host
cecilkorik@lemmy.ca 9 months ago
You can also automate this with autossh which is designed for exactly this kind of persistent tunnel. Although a simple “while” loop might seem like the intuitive way to keep it running, autossh is very reliable and takes care of all the corner cases for you.