How do I ssh into the VM for Minikube?

前端 未结 8 2058
予麋鹿
予麋鹿 2021-01-29 23:03

What is the username/password/keys to ssh into the Minikube VM?

相关标签:
8条回答
  • 2021-01-29 23:26

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

    0 讨论(0)
  • 2021-01-29 23:32

    All the files mentioned are AuthOptions, which can be configured in the config.json file:

    $HOME\.minikube\machines\minikube\config.json

    Generally, the SSH user is: docker.

    If you want to ssh into your Minikube node/VM, then use SSH keys. You can use a Windows client application like WinSCP to configure the keys for your VM. If the format of keys is not as expected (.ppk), then use another client called PuttyGen to convert the keys into the expected format.

    After you're done, log in using WinSCP, and it will enable you to shh into the desired VM using the configured keys.

    0 讨论(0)
提交回复
热议问题