User Tools

Site Tools


networking:sshtunnel

Simple tunnel

ssh -p 22 -NR (destinationport):localhost:(sourceport) user@domain.com

AutoSSH

autossh -M 0 -f -q -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -NR (destinationport):localhost:(sourceport) -p 22 user@domain.com
networking/sshtunnel.txt · Last modified: 2020/06/07 22:32 by Jan Forman