title: Vagrant up keep asking for a password
body: <p>At first I got this error:</p>
  
  <blockquote>
    <p>Text will be echoed in the clear. Please install the HighLine or
    Termios libraries to suppress echoed text.</p>
    
    <p>vagrant@127.0.0.1's password:</p>
  </blockquote>
  
  <p>Then I installed: <strong>HighLine</strong></p>
  
  <p>Now I only get:</p>
  
  <blockquote>
    <p>vagrant@127.0.0.1's password:</p>
  </blockquote>
  
  <p>I tried to use <em>vagrant</em> has the password.</p>
  
  <p>I did not work. I tried my computer password, it also did not work.</p>
  
  <p>So I have no idea what the password I am supposed to use.</p>
  
  <p>All this started after I added these settings (in <strong>Vagrantfile</strong>):</p>
  
  <pre><code>config.ssh.username = "vagrant"
  config.ssh.password = "vagrant"
  config.ssh.keys_only = true
  config.ssh.insert_key = true
  </code></pre>
  
  <p>One might ask why I am using these settings (because normally <em>vagrant</em> is the default username and password). The reason is because for some reason the box generate some random password and uses <em>ubuntu</em> has the username.</p>
  
  <pre><code># Front load the includes
  include_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)
  load include_vagrantfile if File.exist?(include_vagrantfile)
  
  Vagrant.configure("2") do |config|
    config.vm.base_mac = "02357F2D68C4"
    config.ssh.username = "ubuntu"
    config.ssh.password = "1547c59e6cbdffd4104ad720"
  
    config.vm.provider "virtualbox" do |vb|
       vb.customize [ "modifyvm", :id, "--uart1", "0x3F8", "4" ]
       vb.customize [ "modifyvm", :id, "--uartmode1", "file", File.join(Dir.pwd, "ubuntu-zesty-17.04-cloudimg-console.log") ]
    end
  end
  </code></pre>
  
  <p>This is found inside of: <code>~/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-zesty64/20170412.1.0/virtualbox</code></p>
  
  <p>I tried this solution and it did not work:</p>
  
  <p><a href="https://stackoverflow.com/questions/31306192/vagrant-asks-password-at-only-the-first-time-vagrant-up">vagrant asks password at only the first time &#39;vagrant up&#39;</a></p>
  
  <p>So what is the password?
  What can I do so that it stops asking a password?</p>
  
  <hr>
  
  <p>Vagrant 1.9.1</p>
  
  <p>Local OS:</p>
  
  <blockquote>
    <p>No LSB modules are available.</p>
    
    <p>Distributor ID:   Ubuntu</p>
    
    <p>Description:  Ubuntu 17.04</p>
    
    <p>Release:  17.04</p>
    
    <p>Codename: zesty</p>
  </blockquote>
  
  <p>Box: ubuntu/zesty64 (virtualbox, 20170412.1.0)</p>
  
  <hr>
  
  <p><strong>UPDATE 1</strong></p>
  
  <pre><code>$ vagrant up
  
  Bringing machine 'default' up with 'virtualbox' provider...
  ==&gt; default: Box 'ubuntu/zesty64' could not be found. Attempting to find and install...
      default: Box Provider: virtualbox
      default: Box Version: &gt;= 0
  ==&gt; default: Loading metadata for box 'ubuntu/zesty64'
      default: URL: https://atlas.hashicorp.com/ubuntu/zesty64
  ==&gt; default: Adding box 'ubuntu/zesty64' (v20170412.1.0) for provider: virtualbox
      default: Downloading: https://vagrantcloud.com/ubuntu/boxes/zesty64/versions/20170412.1.0/providers/virtualbox.box
  ==&gt; default: Successfully added box 'ubuntu/zesty64' (v20170412.1.0) for 'virtualbox'!
  ==&gt; default: Importing base box 'ubuntu/zesty64'...
  ==&gt; default: Matching MAC address for NAT networking...
  ==&gt; default: Checking if box 'ubuntu/zesty64' is up to date...
  ==&gt; default: Setting the name of the VM: -----
  ==&gt; default: Clearing any previously set network interfaces...
  ==&gt; default: Preparing network interfaces based on configuration...
      default: Adapter 1: nat
      default: Adapter 2: hostonly
  ==&gt; default: Forwarding ports...
      default: 3306 (guest) =&gt; 3306 (host) (adapter 1)
      default: 22 (guest) =&gt; 2222 (host) (adapter 1)
  ==&gt; default: Running 'pre-boot' VM customizations...
  ==&gt; default: Booting VM...
  ==&gt; default: Waiting for machine to boot. This may take a few minutes...
      default: SSH address: 127.0.0.1:2222
      default: SSH username: vagrant
      default: SSH auth method: password
      default: Warning: Connection reset. Retrying...
      default: Warning: Remote connection disconnect. Retrying...
  vagrant@127.0.0.1's password: 
  vagrant@127.0.0.1's password: 
      default: Warning: Authentication failure. Retrying...
  vagrant@127.0.0.1's password: ==&gt; default: Waiting for cleanup before exiting...
  Vagrant exited after cleanup due to external interrupt.
  </code></pre>