Skip to content

Instantly share code, notes, and snippets.

@niektemme
Created July 31, 2015 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niektemme/82a7b92ae9ce1de89237 to your computer and use it in GitHub Desktop.
Save niektemme/82a7b92ae9ce1de89237 to your computer and use it in GitHub Desktop.
Smart Thermostat Raspberry PI - part autossh
autossh -M 0 -q -f -N -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -L 9090:localhost:9090 -i ~/.ssh/<keyfile> ubuntu@<server address>.amazonaws.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment