How do I ssh into the VM for Minikube?

You can use the Minikube binary for this, minikube ssh.


I too wanted to login without the Minikube command. I found that it drops the SSH key it generates into ~/.minikube/machines//id_rsa.

My machine was named the default "minikube", and therefore I could do:

ssh -i ~/.minikube/machines/minikube/id_rsa docker@$(minikube ip)

For windows hyper-v the answer was

  • open "Hyper-V Manager"

  • right click on the "minikube" VM

  • user "root"

There was no password.. that got me in.


Minikube uses boot2docker as its base image, so the default SSH login to the VM ends up being docker:tcuser1.