-
Notifications
You must be signed in to change notification settings - Fork 526
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
libssh2_session_handshake() hangs #1369
Comments
libssh2_session_handshake()
hangs
libssh2_session_handshake()
hangs
here's some log with all debug besides LIBSSH2_TRACE_TRANS enabled, plus the packets filtered by the IP address of the target SSH server printed in order from custom eBPF observer programs i injected into the ingress and egress points of the ethernet device.
|
i tired downgrading to 1.10.0 and this error never appears, but now i have different errors with |
if i keep just SIGINT-ing the program when it blocks on this error, then restart it, eventually it runs to completion. |
Describe the bug
even with
libssh2_session_set_blocking(session, 0)
set,libssh2_session_handshake
often hangs for me... and then after a minute or more fails withLIBSSH2_ERROR_KEY_EXCHANGE_FAILURE
. but the keys are correct and do work sometimes. they either work instantly or we hang for a while. so something is definitely wrong.To Reproduce
this is the code i'm using.. nothing special...
Expected behavior
expect it to quickly complete as it does sometimes
Version:
Additional context
The text was updated successfully, but these errors were encountered: