Showing results for 
Show  only  | Search instead for 
Did you mean: 


Remote Execution on none Windows machines fails with the error ?The server's host key does not match the one PuTTY has?.


When performing Remote Execution on none Windows machines this fails with the following error message:

?SSH command summary:
plink.exe -t -batch -ln "<AccountName>" <MachineName> "<&- date"
Failure reason:
- Connection to the remote host failed due to a connection error.

The server's host key does not match the one PuTTY has

cached in the registry. This means that either the

server administrator has changed the host key, or you

have actually connected to another computer pretending

to be the server.

The new rsa2 key fingerprint is:

ssh-rsa 2048 b0:33:76:16:83:08:73:9b:69:b8:9f:a8:ac:f4:40:30

Connection abandoned.

TCP command summary:
Failure reason:
- A socket error occurred (No connection could be made because the target machine actively refused it). Please inspect the process output to determine the cause of the error.

RPC command summary:
Failure reason:
- Failed to connect to the Service Manager on the remote device
Windows Error:
- The RPC server is unavailable.
- -t Machine -o UploadLocation=http://<MachineName>:80/ManageSoftRL/ -o LogModules=default -o includedirectory=/u* -o includedirectory=/apps?


This error is caused because the rsa2 key on the Admin machine does not match the key used on the target machine when connecting, this could be due to a hardware upgrade but the machine name has remained the same. The key is used to verify that the Admin machine is able to communicate with the target machine and is used before the credentials in the Password Store. Plink.exe is used to execute the command and can also be ran manually if required to test the connection using a different account.


To resolve the error the old rsa2 key needs to be removed from the registry for the machine in question, once this has been done the next time the Remote task is ran a new valid key will be created.

The keys are stored in the following registry key for the user account that is performing the Remote task:


For example ?[HKEY_USERS\S-1-5-21-448539223-573765546-725345543-78144\Software\SimonTatham\PuTTY\SshHostKeys] ?

The following is an example key for a particular machine:


Additional Information

Additional information on Remote Execution can be located in the Discovery and Inventory Guide.
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎May 12, 2018 02:07 AM
Updated by: