Forked from chtz/gist:b3f3e0e764a75ee4f41e0e7da922c39d
Created
January 16, 2022 17:48
-
-
Save filipesam/ac0dc1bc69be959d9489b67264a449e7 to your computer and use it in GitHub Desktop.
SSH over HTTP tunnel (hts- & htc Sample)
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
# Client (Cygwin) | |
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg | |
install apt-cyg /bin | |
apt-cyg install httptunnel | |
htc -P $CORP_HTTP_PROXY_HOST:$CORP_HTTP_PROXY_PORT -F 8888 $HTS_SERVER_HOST:80 | |
ssh -p 8888 $USER@localhost | |
# Server (Amazon Linux) | |
sudo yum groupinstall 'Development Tools' | |
git clone https://github.com/larsbrinkhoff/httptunnel.git | |
cd httptunnel/ | |
./autogen.sh | |
./configure | |
make | |
sudo make install | |
sudo /usr/local/bin/hts -F localhost:22 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment