mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
[GH-ISSUE #132] ssh tunnel connection timeout #79
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#79
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 @dipenpatel235 on GitHub (May 28, 2021).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/132
@mmatczuk
I want to ssh on
system(172.16.209.145)fromclientusing this tunnel solution tool.so i am not able to do that.
getting timeout error.(attached screenshot of that)
added my architecture diagram screenshot and also i have added my
tunnel.ymlfile content in that screenshoti am trying to execute below command from
clientlet me know what things are wrong so i can fix it.
Thanks
@hons82 commented on GitHub (Jun 1, 2021):
Why 2222? Do u have that port open somewhere?
@dipenpatel235 commented on GitHub (Jun 1, 2021):
@hons82 2222 post because if i used 22 then its saying to me already in used.
@hons82 commented on GitHub (Jun 1, 2021):
From the message it looks like the port 2222 is not opened on that machine
@dipenpatel235 commented on GitHub (Jun 1, 2021):
@hons82 can u tell me in which server i need to keep open that port (client, server ,or system as per above architecture diagram)?
@hons82 commented on GitHub (Jun 1, 2021):
Wait a sec. I think there is something wrong in this constellation.
Now you can access the machine where tunnel is running from outside by calling
ssh <addr>.Speaking in the words of your diagram you should be able to call
ssh -p 2222 ubuntu@192.168.0.25on the machine called system (or any other machine) to access the client, but not viceversa.@dipenpatel235 commented on GitHub (Jun 1, 2021):
@hons82 i got your point and founded my mistake. so let me try it as per given by you and update you once testing done .
Thanks for your valuable time.
@dipenpatel235 commented on GitHub (Jun 5, 2021):
@hons82 its working fine.
thanks you so much for your help.