Wednesday, June 19, 2019

PuTTY Fatal Error: expected key exchange group packet from server

PuTTY Fatal Error: expected key exchange group packet from server

I had this same issue and to fix it i change the key exchange algorithm.
In putty settings under connection->ssh->kex I moved Diffie-Hellman group 14 to the top of the list and Diffie-Helman group exchange to the bottom. this solved the issue.

-------------------------------------------------------------------------------

2nd:
You can enable logging of sshd which can give you more details about the error.

To enable logging:

Edit etc/ssh/sshd_config file and add the following line

LogLevel DEBUG2

Reload sshd config:

systemctl reload sshd

Debug message will be logged to the file /var/log/secure

tail -f /var/log/secure

--------------------------
https://www.opentechguides.com/askotg/question/106/putty-fatal-error-expected-key-exchange-group-packet-from-server

No comments:

Post a Comment

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files.

[ERROR]: The value of s_patch_service_name is not set correctly in atleast one of the context files. I got the issue below wh...