Jeevan Dongre
Jeevan Dongre

Reputation: 4649

bootstrapping an ubuntu ec2 instance using chef and knife

I am bootstrapping a ec2 ubuntu based chef node using chef, it creates an instance but it says Failed to authenticate ubuntu - trying password authand asks for the password. But a newly created ubuntu ec2 instance will not have any kind of password set. Throws an error

  ERROR: Net::SSH::AuthenticationFailed: [email protected]

How do I bypass this event and also whats the problem, do I have to make any changes in the configurations.

Kindly help me I am new to the chef.

Upvotes: 0

Views: 394

Answers (1)

Vadym Fedorov
Vadym Fedorov

Reputation: 2415

As I know EC2 instances are using ssl certificate authentication, it seems that you not assign key pair to created instances.

Upvotes: 1

Related Questions