Skip to content

Instantly share code, notes, and snippets.

@dermidgen
Created May 5, 2010 11:22
Show Gist options
  • Save dermidgen/390663 to your computer and use it in GitHub Desktop.
Save dermidgen/390663 to your computer and use it in GitHub Desktop.
netcat-proxy-command
#!/bin/sh
################
# Copyright Brian Hatch, 2004
# http://www.hackinglinuxexposed.com/articles/20040830.html
################
bouncehost=$1
target=$2
ssh $bouncehost nc -w 1 $target 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment