mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
[GH-ISSUE #130] How to SSH to the client using go-http-tunnel implementation #76
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/go-http-tunnel#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LiveEarth on GitHub (Apr 18, 2021).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/130
Hello team, @mmatczuk I follow your instruction and create server and client side part of go-http-tunnel (implemented ./tunneld and ./tunnel)
Everything works fine, but don't know how to use ssh tunnel option:
My question are how to use go-http-tunnel to SSH to the client?
Best regards, be healthy
@LiveEarth commented on GitHub (Apr 24, 2021):
No answer from developer
@mfoe87 commented on GitHub (Dec 29, 2021):
change remote_addr to something like 0.0.0.0:2222 in your client config. This will bind port 2222 on the server. After that you connect to ssh like you normally do
$ ssh user@127.0.0.1 -p 2222That will connect to whatever the client is configured to, in your case it means
192.168.0.5:22So if you have a lot of connections make sure you have free ports available on the server