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

Opening direct-tcpip channel failed. invalid originator port #555

Closed
sergioescudero opened this issue Jan 24, 2020 · 1 comment · Fixed by #618
Closed

Opening direct-tcpip channel failed. invalid originator port #555

sergioescudero opened this issue Jan 24, 2020 · 1 comment · Fixed by #618

Comments

@sergioescudero
Copy link

Hi there,

one jump in my infra was updated to Openssh 8.

Since the upgrade, we are getting this error when we tried to upload a file:

[error] net.schmizz.concurrent.Promise <<chan#0 / open>> woke to: Opening `direct-tcpip` channel failed: open failed

Checking the jump log we have the following error:

error: server_request_direct_tcpip: invalid originator port

The line in OpenSSH that is throwing the error is

if (originator_port > 0xFFFF) {
                        error("%s: invalid originator port", __func__);
                        *reason = SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED;
                        goto out;
                }

The port that is defined for creating the connection is

The port used is 65536.

Is there any way to use another port?

Thank you.

@moritz31
Copy link
Contributor

moritz31 commented Jul 8, 2020

I face the same issue!
@sergioescudero did you find a way around this issue?
Seems like an easy fix to change the LOCALPORT to something accepted?

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

Successfully merging a pull request may close this issue.

2 participants