-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Remote port forwarding is failed #291
Comments
Does this problem occur when not using (To clarify the purpose of asking, I'm wondering if it's possible this problem is related to something else, eg, that port already being bound by something) |
I can verify that |
I have the same issue. Did you find the cause? |
I think I was able to trace this down into gliderlabs/ssh/server.go handleRequests(), there is no handler registered on the connection. By default we only register a ChannelHandler not a RequestHandler in server.go server() ssh.Server() (boy I learned a lot about ssh today).
I get the following printout:
"tcpip-forward" is the "global request" for remote port forwards (https://www.rfc-editor.org/rfc/rfc4254#section-7.1) |
When I try to connect using remote port forward, I get an error.
ssh -R 8000:localhost:8000 myusername@sshportalhost -p 2222 -i private_key
Warning: remote port forwarding failed for listen port 8000
ssh connection is worked, but
curl localhost:8000
from a remote server is not.Can you help me, what I should do for using remote portforward?
The text was updated successfully, but these errors were encountered: