title: Vagrant ssh connect to host 127.0.0.1:2222 port 22: Bad file number
body: <p>Whenever I try to connect to my local Vagrant, I get this error when I run <code>ssh vagrant@127.0.0.1:2222</code> from the Windows git bash:</p>
  
  <pre><code>ssh: connect to host 127.0.0.1:2222 port 22: Bad file number
  </code></pre>
  
  <p>It was working previously, so I'm not sure what could have caused this. When I try to do an SFTP connection in PHPStorm 8, I get this error:</p>
  
  <pre><code>Connection to '127.0.0.1' failed.
  SSH_MSG_DISCONNECT: 2 Too many authentication failures for vagrant 
  </code></pre>
  
  <p>I've tried <code>vagrant destroy</code> with <code>vagrant box remove laravel/homestead</code> and then recreating the box from a backup I had that previously worked using <code>vagrant box add laravel/homestead homestead.box</code> but I still get the same errors.</p>
  
  <p>I'm on Windows 7.</p>
  
  <p>What can I do to get access to my vagrant box commandline again?</p>