Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Forked from ELLIOTTCABLE/gist:579109
Created September 14, 2010 14:22
Show Gist options
  • Save ELLIOTTCABLE/579111 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/579111 to your computer and use it in GitHub Desktop.
# Protocol: SSH ; Host: 127.0.0.1:4444 ; User Name: elliottcable ; Identity: ~/.identity
ssh 174.129.205.205 -p 22 -o 'ProxyCommand nc -x 13.37.13.37:1337 %h %p' -CfnNTg -o 'CompressionLevel 9' \
-R '127.0.0.1:2222:0.0.0.0:22'
ssh 174.129.205.205 -p 22 -o 'ProxyCommand nc -x 13.37.13.37:1337 %h %p' \
'ssh 127.0.0.1 -p 2222 -Ng'\
' -R '\''127.0.0.1:4444:0.0.0.0:22'\'''
#ssh 127.0.0.1 -p 2222 -Ng \
# -R '127.0.0.1:4444:0.0.0.0:22'
# ---- ---- /!\ ---- ---- #
# Protocol: SOCKS ; Host: 127.0.0.1:4444
# Protocol: SOCKS ; Host: 127.0.0.1:4444 ; User Name: foo ; Password: bar
ssh 174.129.205.205 -p 22 -o 'ProxyCommand nc -x 13.37.13.37:1337 %h %p' -CnNTg -o 'CompressionLevel 9' -D 127.0.0.1:4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment