could be permissions

ls -al ~vagrant/.ssh

Can you past that?

you should usually do

chmod -R 0600 ~/.ssh
chmod 700 ~/.ssh

in that way ssh won't complain of permissions being too open.

However, you can also use packer.io that is a hashicorp tool to build
your base boxes

There is a tutorial for a packer build that build the boxes on atlas
and make them available on the atlas cloud:
https://atlas.hashicorp.com/tutorial/packer-vagrant/0

Alvaro.

On Sat, Jun 13, 2015 at 10:01 AM, David Reagan <[email protected]> wrote:
> I'm trying to build a new box using Ubuntu 14.04.
>
> My host is Ubuntu 14.04, Virtualbox 4.3.28, Vagrant 1.7.2. All 64bit.
>
> I've been using these pages for reference:
>
> http://docs.vagrantup.com/v2/virtualbox/boxes.html
>
> http://docs.vagrantup.com/v2/boxes/base.html
>
> https://blog.engineyard.com/2014/building-a-vagrant-box
>
> I built a new vm on virtualbox, set up the vagrant user, passwordless sudo,
> insecure keys, etc.
>
> I ran vagrant package --base vmname.
>
> Then I created a Vagranfile that uses my new box, and ran vagrant up.
>
> That's where the issue appears (minus all the output that works as normal):
>
> ==> boxtest: Waiting for machine to boot. This may take a few minutes...
>     boxtest: SSH address: 127.0.0.1:2210
>     boxtest: SSH username: vagrant
>     boxtest: SSH auth method: private key
>     boxtest: Warning: Connection timeout. Retrying...
> Text will be echoed in the clear. Please install the HighLine or Termios
> libraries to suppress echoed text.
> [email protected]'s password:
>
>
> All the other prebuilt boxes I have used do not ask for the password.
>
> Why is my box doing so?
>
> Also, why is it asking for those libraries?
>
>
> I did spend some time on Google looking for an answer, but I couldn't find
> anything useful. Maybe I just need better keywords....
>
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to