ssh a vagrant box without 'vagrant ssh'
<p>I have created a new vagrant box using </p>

<pre><code>vagrant init ubuntu/trusty64
vagrant up
</code></pre>

<p>I want to ssh into this without using "vagrant ssh"</p>

<p>ifconfig of the box machine gave me </p>

<pre><code>eth0      Link encap:Ethernet  HWaddr 08:00:27:ca:3e:f9
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:feca:3ef9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26220 (26.2 KB)  TX bytes:22208 (22.2 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
</code></pre>

<p>I tried </p>

<pre><code>ssh vagrant@10.0.2.15
</code></pre>

<p>"who" on box gave</p>

<pre><code>vagrant  pts/0        Jan  5 14:46 (10.0.2.2)
</code></pre>

<p>So I tried</p>

<pre><code>ssh vagrant@10.0.2.2
</code></pre>

<p>But neither worked!</p>

<p>Neither ping works on this ips</p>