bryanpkc / corkscrew Goto Github PK
View Code? Open in Web Editor NEWA tool for tunneling SSH through HTTP proxies
License: GNU General Public License v2.0
A tool for tunneling SSH through HTTP proxies
License: GNU General Public License v2.0
FYI, Pat Padgett seems to have surfaced again, I stumbled upon this:
https://github.com/patpadgett/corkscrew
Hello,
I am trying to use the auth option, but it doesn't work, unforunatelly, this is all I get, no more verbose errors:
petr.bena@MacBook:~/.ssh$ corkscrew vpn.insw.cz 80 test 1 proxy
Proxy could not open connnection to test: Proxy Authentication Required
When I try to connect for example via firefox or any other SW that ask me for proxy credentials, I just give it user and password that is written on first line in file "proxy" and it works.
I created that file as instructed it has this format:
user:password
Hello,
thank you for your time for Corkscrew development. Very useful tool.
Seems, that I found a small bug.
Corkscrew eats 100% of CPU when ssh server unavailable by network problems. There is happens when I receive similar error message from proxy server:
Gateway Timeout
ssh_exchange_identification: Connection closed by remote host
Seems that corkscrew trys reconnecting without any pause, causing proxy flood.
$ corkscrew --help
corkscrew 2.0 ([email protected])
From official repositoies of Ubuntu 18.04
Hi,
I get stuck in ssh proxy, appreciate for help.
2.0
❯ cat .ssh/config
# my-github
Host github.com
Hostname github.com
IdentityFile ~/.ssh/my_github
User [email protected]
ProxyCommand corkscrew 127.0.0.1 7890 %h %p
❯ ssh -T [email protected]
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
❯ ssh -v [email protected]
OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/dingrui/.ssh/config
debug1: /Users/dingrui/.ssh/config line 2: Applying options for github.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Executing proxy command: exec corkscrew 127.0.0.1 7890 github.com 22
debug1: identity file /Users/dingrui/.ssh/my_github type 0
debug1: identity file /Users/dingrui/.ssh/my_github-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
I hava no ideals on this, i'm looking forward to your suggestions or help, thanks again.
I have used the debian repo corkscrew and this github version, both give me the same results. I am attempting to ssh to port 443. Server has sshd running on port 443, and my client is using the 'ProxyCommand /opt/corkscrew/corkscrew my.domain 443 %h %p'
It is a certificated based SSH and my certs are valid and work when not trying to use corkscrew.
The ultimate error that I get is:
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
Any help would be appreciated.
Hello @bryanpkc, could you please tag the 2.0 release as imported from http://agroman.net/corkscrew/ and eventually tag a newer release with your commits? This will help the downstream distribution of the software. Thanks!
brew install corkscrew
echo user@pass > auth
corkscrew localhost 8000 localhost 8001 auth
Proxy-Authorization: Basic Q09OTkVDVCBsb2NhbGhvc3Q6ODAwMSBIVFRQLzEuMApQcm94eS1BdXRob3JpemF0aW9uOiBCYXNpYyA=
base64 --decode <<< 'Q09OTkVDVCBsb2NhbGhvc3Q6ODAwMSBIVFRQLzEuMApQcm94eS1BdXRob3JpemF0aW9uOiBCYXNpYyA='
CONNECT localhost:8001 HTTP/1.0
Proxy-Authorization: Basic
corkscrew --version
corkscrew 2.0 ([email protected])
Thank you this is very useful software for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.