x/crypto/ssh: got error "ssh: short read" on older cipher #24859
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.10.1 windows/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?windows/amd64 (Linux and Darwin also)
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
no error
What did you see instead?
When dial to 106.39.177.129, the connection can't be created.
If connect without specifying a cipher list, i got a error: "ssh: handshake failed: ssh: no common algorithm for client to server cipher; client offered: [aes128-gcm@openssh.com chacha20-poly1305@openssh.com aes128-ctr aes192-ctr aes256-ctr], server offered: [aes256-cbc aes128-cbc 3des-cbc aes256-cbc des-cbc]".
If i use [aes256-cbc aes128-cbc 3des-cbc des-cbc] for handshake, i got a error: "ssh: handshake failed: ssh: short read"
If i use xshell connect to 106.39.177.129, no error.
The text was updated successfully, but these errors were encountered: