Instructions to establish a reverse SSH proxy on server startup. Useful for setting up a server behind gateways/firewalls. Install SSH keys on the remote and local server. Note the command should work independently before setting up as a service. /usr/bin/ssh -NT -o “ServerAliveInterval 60” -o “ServerAliveCountMax 3” -o “PubkeyAuthentication=yes” -o “PasswordAuthentication=no” -i /sshtunnel/.ssh/id_rsa -R 2220:localhost:22 […]