You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then an error message appears:internal inconsistency
I found that the size of maxpacket is 1 << 15(322768), but the downloaded file size is 32769, In fact, the file size is greater than 32769. It seems that only one package has been downloaded.
Is there a way to solve this problem?
thanks
The text was updated successfully, but these errors were encountered:
This problem is due to an upstream bug in the x/crypto/ssh library for which I've already filed a bug golang/go#32075. I'm closing this as a duplicate of the issue that had me file the upstream issue, #287.
Download file from sftp 1.10.1, appear this:
ssh: handshake failed: ssh: no common algorithm for key exchange; client offered: [[email protected] ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group14-sha1], server offered: [diffie-hellman-group-exchange-sha256]
I add the KeyExchange to ClientConfig
sshconfig := ssh.Config{}
sshconfig.SetDefaults()
sshconfig.KeyExchanges = append(
sshconfig.KeyExchanges,
"diffie-hellman-group-exchange-sha256",
"diffie-hellman-group-exchange-sha1",
)
Then an error message appears:internal inconsistency
I found that the size of maxpacket is 1 << 15(322768), but the downloaded file size is 32769, In fact, the file size is greater than 32769. It seems that only one package has been downloaded.
Is there a way to solve this problem?
thanks
The text was updated successfully, but these errors were encountered: