Skip to content

Instantly share code, notes, and snippets.

@tylrd
Created September 16, 2018 23:12
Show Gist options
  • Save tylrd/770f462adab750e22e7729b95edad2c3 to your computer and use it in GitHub Desktop.
Save tylrd/770f462adab750e22e7729b95edad2c3 to your computer and use it in GitHub Desktop.
SSH Tunneling
ssh -fTnNL 9090:<internal_hostname>:9090 <bastion_hostname>
# It kinda looks like "f-TunNeL" but without vowels. It's a "Fun Tunnel".
Host <bastion_hostname>
StrictHostKeyChecking no
ForwardAgent yes
IdentityFile <key>
UserKnownHostsFile /dev/null
HostName <ip>
User <user>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment