In versions 2020.3.13.0 and later of Remote Desktop Manager, an error message can appear when opening a Secure Shell (SSH) connection: "An unexpected error has occurred: Error code SSH_FAIL_NO_MATCH (-3006) Unable to find a matching algorithm with the SSH server".
Local Solution for one entry
Remote Desktop Manager now has a selection of algorithms for the SSH session type. Please note that the unsecured ones are not enabled by default. We therefore recommend that you check the algorithms directly on your server for security purposes. Otherwise, you can follow the steps below to resolve this issue.
-
Right-click on your entry and select Properties. Make sure you are in Common – General in the left menu.
-
In the Advanced tab, set the Algorithm support option to Custom.
-
Click on the button that appeared to the right of the Algorithm support setting.
-
In the new SSH window, select the missing algorithms from the list.
Make sure to go through the algorithms in all tabs before proceeding.
-
Click OK in the SSH window, then OK again in the window of the entry properties.
You may have to restart Remote Desktop Manager for the solution to take effect.
-
Test your connection. If you are still unable to connect after enabling the algorithms, return to the Advanced tab in your entry properties and check the Skip environment variable setup box and click OK.
Global Solution for all entries
It is also possible to globally reactivate all the algorithms in Remote Desktop Manager via the File – Settings – Types – Terminal – Algorithm Support menu. Just select the missing algorithms, then click OK.
Make sure to go through the algorithms in all tabs.
You may have to restart Remote Desktop Manager for the solution to take effect.
Custom Powershell command script
If you still encounter issues on a specific entry, you can run the following PowerShell script in Remote Desktop Manager.
- Right-click on the problematic entry, then select Edit – Edit (Special Actions).
- In the Edit – Special Action Selection window, select the Custom PowerShell Command general special action and click OK.
- Paste the following script in the Command field:
$Connection.Terminal.AlgorithmSupportMode = "Custom" $Connection.Terminal.SshAlgorithmCipherList = "aes256-gcm@openssh.com=True;aes128-gcm@openssh.com=True;aes128-cbc=True;aes192-cbc=True;aes256-cbc=True;rijndael-cbc@lysator.liu.se=True;3des-cbc=True" $Connection.Terminal.SshAlgorithmHostKeyList = "ssh-dss=True" $Connection.Terminal.SshAlgorithmKexList = "diffie-hellman-group14-sha1=True;diffie-hellman-group-exchange-sha1=True;diffie-hellman-group1-sha1=True" $Connection.Terminal.SshAlgorithmMaclist = "hmac-sha1-96=True;hmac-sha1=True;hmac-md5-96=True;hmac-md5=True" $RDM.Save();
- Click OK.
- A notification should confirm the success of the script. Click OK and retest your session.