Hi I am using Putty to ssh to a Centos virtual machine running on virtual box. It was working without any problemn until now when it start throwing the error
PuTTY Fatal Error: expected key exchange group packet from server
I havent done any change to my VM or on my host recently and I can ping the VM.
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
Reload sshd config:
systemctl reload sshd
Debug message will be logged to the file /var/log/secure
tail -f /var/log/secure
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.
Its fixed for me as well Thanks
Thanks to guest737.
I don't know what it means, but it worked ;-)
I also did the same configuration mention above and i am able to connect to my cloud VM.
awesome , thank you
Above solution worked for me too. Thanks!!!
thanks a lot solution worked for me
thx alot..it worked