I'm getting the same errors when trying to push a firmware upgrade to a bunch of HP iLo's. It always seems to be the second runcommand.
Exception calling "RunCommand" with "1" argument(s): "An established connection was aborted by the software in your host machine."
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\SSH-Sessions\SSH-Sessions.psm1:line:272 char:66
Exception calling "RunCommand" with "1" argument(s): "An established connection was aborted by the software in your host machine."
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\SSH-Sessions\SSH-Sessions.psm1:line:272 char:66
-
$CommandObject = $global:SshSessions.$Computer.RunCommand( <<<< $Command)
New-sshsession -computername $Line.RIB_IP_Address -username $UserName -password $Password
Invoke-SshCommand -InvokeOnAll -command 'cd /map1/firmware1'
Invoke-SshCommand -InvokeOnAll -command 'load -source http://xxxx.yyy.zzzz/ilo/ilo3_170.bin'
Remove-SshSession $Line.RIB_IP_Address