-
Notifications
You must be signed in to change notification settings - Fork 18k
x/crypto/ssh: invalid packet length, packet too large #54719
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
Comments
golang.org/x/crypto/ssh version? without information on how to reproduce this report isn't very actionable |
@seankhliao
sshd version
sshd config
Yes, I know. I am a software engineer. I provide information you ask. No more. To not overload you with the details. |
Hi @seankhliao, when the research will start? When could I estimate to have some results on the incident? |
I had the same problem and found this issue through a Google search. In my case, I could fix it by setting the |
Hi @5hir0kur0 , thank you for a workaround. It works for me. |
It's not a workaround, it's a requirement of the SSH protocol. The server config has this comment:
This comment should probably be added to ClientConfig.ClientVersion too. |
Fixed. |
Thank you for your remark. I have not known this. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
"Connected to 10.0.3.15:22 as test_env"
What did you see instead?
"Can't connect to 10.0.3.15:22 as test_env: ssh: handshake failed: ssh: invalid packet length, packet too large"
The text was updated successfully, but these errors were encountered: