Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication doesn't work with Squid basic auth #10

Closed
benapetr opened this issue Jul 29, 2020 · 2 comments
Closed

authentication doesn't work with Squid basic auth #10

benapetr opened this issue Jul 29, 2020 · 2 comments

Comments

@benapetr
Copy link

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
@benapetr
Copy link
Author

Here are logs from squid:

1596020825.809      0 xx TCP_DENIED/407 3848 CONNECT test:1 - HIER_NONE/- text/html
1596020828.311      0 xx TCP_DENIED/407 3848 CONNECT test:1 - HIER_NONE/- text/html
1596020848.908      0 xx TCP_DENIED/407 3859 CONNECT test:80 - HIER_NONE/- text/html
1596020852.252      0 xx TCP_DENIED/407 3878 CONNECT test:443 - HIER_NONE/- text/html

@benapetr
Copy link
Author

I figured it out - password was too long, creating user with shorter password worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant