Hello,
I looked on this site and saw several responses to issue like this. Except I still can't get it. Here is what I did.
1. Got a box from Hashicorp, everything worked perfectly. No issues. I added some software to it and then used package to create a box.
2. Now, when I do a vagrant init <my box> and it starts to spin up.
3. I get the error
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
What I can do!
1. I can still log into the box with vagrant ssh. I just prompts me for a password.
Because it's failing at this point it just holds here until I ctrl c it and thus, the synced folders and other set up never occurs.
What I have tried to fix it.
1. When into ssh_config and set prompt for password to no. Didn't work.
2. I saw there was no authorized_key so I got the git up one and put it in there. Didn't work.
3. I configured vagrant in sudo with no password. I am stretching now but didn't work lol
4. I checked all the permissions on the .ssh and vagrant folders according to previous threads.
Here is what gets me. I got the box from hashicorp website and it worked perfectly. This isn't a box from scratch. So I would of assumed it would have had everything I needed in order for it to work. All I did was just create a box out of it and tried to use it. I get this error and I have no idea what to do next.
Any help would be great. Thanks!