SSH KexAlgorithms (EXPLAINED) and SSH DSS
What Is SSH KexAlgorithms
Whenever your SSH client and a server are connected together, both of them will share some common parameters amongst each other. One of the parameters is SSH KexAlgorithms.
SSH Kexalgorithms is the key exchange method used in generating keys for each connection.
How to Modify SSH Server KEX Key Exchange Algorithms
It is simple:
Just search for Regedit on your Run dialog box or Start menu.
Then expand the HKEY_LOCAL_MACHINE folder.
Followed by the SOFTWARE folder. Then the WOW6432None, this might be different in your case. In my case, I want to modify the SSH KEX algorithms of Georgia Softworks.
After WOW6432None folder, I’ll expand the Georgia Softworks after which I’ll expand GSW_SSHD, then click on the Parameters folder.
Sz KexAlgorithms is located in the parameter folder, find and right click on it then click Modify and change the Value’s data to what you want.
Then click ok.
However, this changes will not be effective until you restart the SSH services, how do you do that?
Search for Services on the Start screen.
Then you will locate the name of your software, in my case, it is Georgia Softworks and right above it is its SSH service.
Select the service and click restart.
Your SSH KEXalgorithms is now ready.
SSH Error No Matching Exchange Method Found Solution
Follow these steps:
Sudo nano /etc/ssh/ssh_config
Add the following to the bottom:
This simple fix does not need any reboot. It will work immediately.
Fix No Kex Alg
Whenever you have an issue with Kex Alg, the easiest solution that most people are not always aware of is to use and updated version of OpenSSH.
This simple action will solve all you Kex Alg issues. Whether it is Cygwin or other things like that.
Just update your OpenSSH.
The next thing you should do now is to read the following helpful post: