Bug bypass: vagrant ssh timeout for bento/ubuntu-16.04

‘vagrant ssh’ times out with bento box on old Ubuntu 14.04 Trusty. There is a simple fix. This short article details bypass for this bug step by step.

On old Ubuntu 14.04 LTS trusty, ‘vagrant ssh’ can’t connect: “default: Warning: Connection timeout. Retrying…”. This is a bug with known bypass.

$ nano Vagrantfile

## Vagrantfile
Vagrant.configure(2) do |config|
   config.vm.box = "bento/ubuntu-16.04"
   config.vm.provider 'virtualbox' do |vb|
       vb.customize ["modifyvm", :id, "--cableconnected1", "on"]
   end
end

$ vagrant up
$ vagrant ssh

And you’re in:

vagrant@vagrant:~$

Adminstrivia

Tested on Ubuntu 14.04.3 LTS, x86_64 (amd64), vagrant 1:1.7.4, virtualbox 5.0.8-103449~Ubuntu~trusty, Linux 3.19.0-73-generic.

Updated: made this article shorter.

Posted in Uncategorized | Tagged , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects