Host key does not match configured key
I am using a PowerShell script to perform certain actions but when I am running the script it's throwing an error:
Also when I'm trying to access the server via WinSCP I am not able to with an error:hostkey does not match configured key
Could someone please help me in resolving this?server refused the key.