Created
May 16, 2017 19:56
-
-
Save jdmichaud/da327ace639cd327174a3d7a5b2da934 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From https://security.stackexchange.com/a/20539/148521 | |
# On the server | |
nc -l -k localhost 9000 | |
# On the client | |
ssh -f -L 10000:127.0.0.1:9999 [email protected] sleep 1; nc localhost 10000 | |
# To send every character | |
stty -icanon && ssh -f -L 10000:127.0.0.1:9999 [email protected] sleep 1; nc localhost 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment