title: Using SSH to connect to virtual box guest machine using IPv6 address
body: <p>I am using windows, and I'm also running an ubuntu server on virtual box. I've SSH'd into the guest machine countless times in the recent past when the guest machine was connected to a network using IPv4 addresses. This worked back when I was at home and at work. Right now, I'm connected to the university network. Here's the result from ifconfig when executed in my VM.</p>
  
  <pre><code>eth0      Link encap:Ethernet  HWaddr 08:00:27:ae:e4:a0  
        inet6 addr: fe80::a00:27ff:feae:e4a0/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:65404 errors:0 dropped:0 overruns:0 frame:0
        TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000 
        RX bytes:7588239 (7.5 MB)  TX bytes:10610 (10.6 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:16436  Metric:1
            RX packets:16 errors:0 dropped:0 overruns:0 frame:0
            TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:1296 (1.2 KB)  TX bytes:1296 (1.2 KB)
  </code></pre>
  
  <p>I did some research, and found this post on SO.
  <a href="https://stackoverflow.com/questions/5746082/ipv6-link-local-address-format">IPv6 link-local address format</a></p>
  
  <p>So I ran netsh interface ipv6 show address on my host machine and this is my vbox network info </p>
  
  <pre><code>Interface 208: VirtualBox Host-Only Network
  
  Addr Type  DAD State   Valid Life Pref. Life Address
  ---------  ----------- ---------- ---------- ------------------------
  Other      Preferred     infinite   infinite fe80::f8cd:e410:b1b1:c081%208
  </code></pre>
  
  <p>I then tried pinging the address, and it was successful. I then tried to SSH into the server, using the following command</p>
  
  <pre><code>ssh -6 fe80::f8cd:e410:b1b1:c081%208
  </code></pre>
  
  <p>And I got this error</p>
  
  <pre><code>"no address associated with name"
  </code></pre>
  
  <p>I don't understand why I'm getting this error - I've ssh'd into machines by specifying their ipv4 addresses before, and I've never gotten this error before. Could anyone tell me what I might be doing wrong? </p>
  
  <p>Thanks for the help! </p>