kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
23.35k stars 1.8k forks source link

Kex error : no match for method encryption server→client #674

Open GuimLe opened 2 years ago

GuimLe commented 2 years ago

Hello, great work everyone, really nice tool ! I am facing a connection problem and I don't understand what's happening, maybe someone could help. I would like to connect to a server but I have this error :

ssh_kex_select_methods: kex error : no match for method encryption server->client: server [chacha20-poly1305@openssh.com], client [aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc]

I have checked Ciphers order for this connection because the problem seems to come from client and this is what I have got :

chacha20-poly1305@openssh.com
aes128-gcm@openssh.com
aes256-gcm@openssh.com
aes192-ctr
aes256-ctr
...

I have manually changed the order of ciphers but the error is still giving me this feedback, so I don't understand my error. Can anyone help me ?

kingToolbox commented 2 years ago

Sorry for the late reply. But I am happy to inform you that WindTerm_2.4.1 has been released and this bug has been fixed. Please download and check it, thank you.

GuimLe commented 2 years ago

Thank you for your answer, I've checked it but the problem is still present in 2.4.1. Client cipher list/order is still ignored. Is there another problem ?

jeyriku commented 1 year ago

Hi,

Same issue in version 2.5.0 on MacOS X 13.1 (Ventura).

kex error : no match for method kex algos: server [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256], client [diffie-hellman-group14-sha1]

Thanks in advance for your help,