x/crypto/ssh: Cannot connect to unencrypted server #51860
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version go1.18 darwin/arm64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOARCH="arm64"
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
What did you do?
Tried to connect to a server that has "none" used for KeyExchanges, Ciphers, and HostKeyAlgorithms. I set all three of these values in ClientConfig but the connection threw an error as the "none" value is currently not allowed for ciphers.
What did you expect to see?
The client connects to the server without using encryption.
What did you see instead?
Using the above config produces the error
The none value is accepted for KeyExchanges and HostKeyAlgorithms but for ciphers the none value is not being allowed which does not allow for the ssh client to connect without encryption.
The text was updated successfully, but these errors were encountered: