Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to specify username leads to confusing error message #113

Closed
mfischer-zd opened this issue Apr 30, 2015 · 3 comments
Closed

Failure to specify username leads to confusing error message #113

mfischer-zd opened this issue Apr 30, 2015 · 3 comments

Comments

@mfischer-zd
Copy link

If you leave the username out from the ec2 driver configuration, the following non-helpful error message could result:

[SSH] connection failed, retrying in 1 seconds (#<Net::SSH::AuthenticationFailed: Authentication failed for user #<Proc:0x00000004302470@.../ec2.rb:54>@REDACTED>

The documentation states that the default login name is "root" but that doesn't appear to result here.

This is test-kitchen 0.8.0 BTW.

@tyler-ball
Copy link
Contributor

Hey @mfischer-zd - can you try again with the latest release of kitchen-ec2 (0.9.0) and Test Kitchen (1.4.0)?

@dsavinkov
Copy link
Contributor

@tyler-ball @mfischer-zd
I have successfully tested today. If username is not specified - "root" user is used by default.
kitchen (1.4.0) / kitchen-ec2 (0.9.0).

@tyler-ball
Copy link
Contributor

I'm going to go ahead and close this since @dsavinkov had a successful test with 0.9 - please re-open this if you are still having issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants