-
Notifications
You must be signed in to change notification settings - Fork 5
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
how to ssh to a client through boring proxy? #7
Comments
@techiezia Do you have boringproxy set up? If so, just add a tunnel on port 22. |
@luke2m my boringproxy working fine for http server but when i tunnel my ssh, it got created but when i try to access it i'm getting [email protected]: Permission denied (publickey,password) |
It looks like you are inputting your password incorrectly. |
@luke2m No I'm inputting a valid password. If I'm doing ssh on a local lan the same password is working. |
Hmm, it’s working for me. Could you try passwordless authentication? |
If I understand correctly what you're trying to accomplish, everything looks good except you need to use the correct tunnel port when connecting over SSH:
By default you'll get a random port when you create the tunnel, but you can also choose the port by setting |
Basically the commands you ran are trying to SSH into the machine running boringproxy server, not the machine you're tunneling to. This is one of those classic situations with tunneling where it's really hard to keep straight what is what. |
hi @anderspitman thanks for your reply. Now when i'm using proper port i'm getting this response. |
I don't have any more guesses about what might be wrong. It certainly could be a bug in boringproxy, but as they say, "it works on my machine". My suggestion would be to try running something simpler than SSH. Maybe an HTTP server or even netcat. Make sure it's even getting through to the port. If so then there's probably something wrong with your SSH setup. Try SSHing in from a machine on the same network and see if that gives you any clues. |
@anderspitman thanks for your suggestions...
Only SSH through boringproxy is not woking... |
Shoot, sorry it's still not working. I'll leave this issue open. Maybe another developer will run into the same problem and have time to find the root cause. |
how to ssh to a client through boring proxy?
@anderspitman I want to ssh to a server on with private IP. can we use boringproxy to make it possible?
If so then what are the steps involved.
Thanks!
The text was updated successfully, but these errors were encountered: