Open cappetta opened 8 years ago
Make sure you are setting override.ssh.username = "ec2-user" or whatever user you would be using ssh as.
+1 on username overrides. I've added the block below to manage that for me
# If default user defined otherwise ec2-user if node["user"] override.ssh.username = node["user"] else override.ssh.username = "ec2-user" end
I've expanded a bit into my usage since this was reported last May. I'm sharing a link to my vagrant_aws_bootstrap repo but this issue still exists. If you can point me in the right direction, code-deep-dive-wise, I'll dive into the code & trace through the logic w/ the goal of identifying where a break can be inserted.
I started using this plugin recently to integrate vagrant and AWS. I'm comparing this plugin to the vagrant-openstack-provider plugin.
I initially saw the AWS plugin hanging and found a few exception handling issues that could be improved after confirming the instance is up and I can ssh into the box manually so I turned on debugging.
What I'm seeing from the verbose output is that the authentication is failing (user error) yet the plugin is infinitely looping and attempting to reconnect.