Developer Blog - Inventic.eu
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #autossh

Autossh forward ports to whole network

Use -g swith after -L section to forward ports to whole network

autossh -M 40008 -f -N [email protected] -L 33061:127.0.0.1:3306 -g -L 6380:127.0.0.1:6380 -o &quot;ServerAliveInterval 60&quot; -o &quot;ServerAliveCountMax 3&quot; -o BatchMode=yes -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa<br />

Other notes

Configuration file : /etc/init/autossh.conf

Start service:

sudo service autossh start<br />

 

Other links

26 Nov 2014

Posted by: ludek.vodicka

Linux #autossh #forward port