- From: Jeff Blaine <
>
- To:
- Subject: [chef] Re: Re: using winrm
- Date: Tue, 26 Nov 2013 11:06:45 -0500
On 11/26/2013 10:33 AM, Nikhil Shah wrote:
>
Just wanted to follow up with this email to see if anyone else might
>
have any insight as th why I’m receiving authorization failed.
As others have indicated, and as I recall you've had some trouble
with this in the past, make sure you are making use of the
'gem' executable you think you are.
DEBUG: establishing connection to windows:22
...
DEBUG: remote is `SSH-2.0-OpenSSH_4.3'
DEBUG: local is `SSH-2.0-Ruby/Net::SSH_2.7.0 x86_64-linux'
Your output shows
a) that WinRM is not being tried, but SSH to port 22 is
b) your command is trying to connect to a host named windows,
so it is clear your hostname on the command-line is not
being interpreted as such (v2mq13.theorchard.com).
Others pointed this out already.
Summary: Likely the knife you are using is not one whose Ruby
has the knife-windows gem installed, even though you
think it is.
Archive powered by MHonArc 2.6.16.