Skip to content

Instantly share code, notes, and snippets.

@BarnacleBob
Created March 13, 2015 17:05
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 BarnacleBob/6e5495e58fc028a99766 to your computer and use it in GitHub Desktop.
Save BarnacleBob/6e5495e58fc028a99766 to your computer and use it in GitHub Desktop.
ControlPath ~/.ssh/c/%r-%h-%p
ServerAliveInterval 5
ServerAliveCountMax 4
ForwardAgent yes
ControlMaster auto
host pm adsynth-aws-dashboard.cranestylelabs.com ec2-107-23-107-76.compute-1.amazonaws.com
hostname adsynth-aws-dashboard.cranestylelabs.com
ProxyCommand /bin/bash -c '/usr/local/bin/knock -v -d 100 %h 3888:tcp 9541:tcp 10483:tcp; sleep 0.1; /usr/bin/nc %h %p'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment