【发布时间】:2018-12-27 04:10:31
【问题描述】:
我正在尝试在 Ubuntu 18.04 上使用 kvm 启动 Kubernetes minikube (v0.32.0)
但是,它在运行时挂起:
minikube start --vm-driver kvm2 -v 10 或 minikube ssh -v 10 与
Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain。
我可以使用“ssh docker@192.168.39.98”连接到 minikube VM,所以我相信 minikube ssh 不起作用,因为它不使用相同的参数。我该如何配置它呢?
- 我确实设法通过 kvm 前端使用 docker/tcuser 登录到 minikube 并复制我的公共 ssh 密钥,但它没有帮助。
- 我的 ~/.minikube/machines/minikube/config.json 用于身份验证是:
"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"
【问题讨论】:
标签: ubuntu ssh kubernetes