Last active
June 28, 2016 17:31
-
-
Save deinarson/1c153f139ea3d1f352b8dfa91a56a019 to your computer and use it in GitHub Desktop.
This file contains 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
Host proxy | |
hostname jumphost.domain.com | |
IdentityFile ~/.ssh/key | |
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null | |
User username | |
LogLevel ERROR | |
DynamicForward 18080 | |
This file contains 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
ssh -N -D 18080 proxy & | |
ssh -N -L 18080:localhost:18080 proxy | |
in another term | |
export http_proxy="http://localhost:18080" | |
curl destination:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment