Apr 5, 2013 at 3:25 PM
Edited Apr 5, 2013 at 3:32 PM
I am trying to connect to few Solaris Servers via SSH through PowerShell Script.Except for two servers i am able to successfully connect and execute the required commands and retrieve the results. For the two servers which i am unable to connect, i am
getting the following error :-
Exception calling "Connect" with "0" argument(s): "Key exchange negotiation failed."
At C:\Users\Automation\sessionlog.ps1:11 char:21
- $SshClient.Connect <<<< ()
- CategoryInfo : NotSpecified: (:) , MethodInvocationException
- FullyQualifiedErrorId : DotNetMethodException
I am using the latest available version of the dll to connect.
I am new to PowerShell and may be the issue might be a very simple one.Please help as my work is remaining incomplete because of this issue.