Posts with the tag SSH Reverse Tunneling

Start AutoSSH on System Startup Using Systemd on Arch Linux

OK, here is how to start ssh on system startup (this is the content of the systemd .service configuration file /etc/systemd/system/autossh.service):

Description=AutoSSH service for a reverse tunnel from to localhost

ExecStart=/usr/bin/autossh -M 0 -q -N -o "ServerAliveInterval 60"...

Read on

Keeping SSH Tunnels Open Reliably

A (reverse) SSH tunnel can help you being reachable from outside a NATed network or behind a firewall. Keeping the tunnel open when your IP address changes or Internet connection is shaky can be taken care of by autossh. See below for the instructions.


On Ubuntu / Debian:

sudo apt-get update...

Read on