<p>I am trying to start Kubernetes minikube (v0.32.0) using kvm on Ubuntu 18.04 following the </p>

<blockquote>
  <p><a href="https://kubernetes.io/docs/setup/minikube/" rel="nofollow noreferrer">https://kubernetes.io/docs/setup/minikube/</a></p>
</blockquote>

<p>However, it hangs while running:
<code>minikube start --vm-driver kvm2 -v 10</code> or <code>minikube ssh -v 10</code> with</p>

<p><code>Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain</code>. </p>

<p>I can connect to minikube VM with "ssh docker@192.168.39.98", so I believe <code>minikube ssh</code> does not work because it does not use the same parameters. How do I configure it to do it?</p>

<ul>
<li>I did manage to login to minikube through kvm front-end using docker/tcuser and copy my public ssh key but it did not help.</li>
<li>My ~/.minikube/machines/minikube/config.json for authentication is:</li>
</ul>

<blockquote>
<pre><code>"AuthOptions": {
            "CertDir": "/home/badgers/.minikube",
            "CaCertPath": "/home/badgers/.minikube/certs/ca.pem",
            "CaPrivateKeyPath": "/home/badgers/.minikube/certs/ca-key.pem",
            "CaCertRemotePath": "",
            "ServerCertPath": "/home/badgers/.minikube/machines/server.pem",
            "ServerKeyPath": "/home/badgers/.minikube/machines/server-key.pem",
            "ClientKeyPath": "/home/badgers/.minikube/certs/key.pem",
            "ServerCertRemotePath": "",
            "ServerKeyRemotePath": "",
            "ClientCertPath": "/home/badgers/.minikube/certs/cert.pem",
            "ServerCertSANs": null,
            "StorePath": "/home/badgers/.minikube"
</code></pre>
</blockquote>

<p>Is your VM really starting? Are you running on bare metal or nested virtualization? Generally, your ssh private key to connect to the VM will be under:</p>

<pre><code>/home/badgers/.minikube/machines/minikube/id_rsa
</code></pre>

<p>You can check it with:</p>

<pre><code>$ minikube ssh-key
</code></pre>

<p>This is also identified by the <code>SSHKeyPath</code> option in your config:</p>

<pre><code>{
    "ConfigVersion": 3,
    "Driver": {
        "IPAddress": "192.168.x.x",
        "MachineName": "minikube",
        "SSHUser": "docker",
        "SSHPort": 22,
        "SSHKeyPath": "/home/badgers/.minikube/machines/minikube/id_rsa",
        ...
}
</code></pre>
