-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Provisioning VM: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain #2904
Comments
I'm having the same exact issue on OSX 10.13.5 Same log entry: And then once it's done hanging, it gives this error and retries: |
My issue was fixed by upgrading to the latest version of Virtual Box and removing ~/.minikube, then running minikube start. |
Ubuntu 16.04 here, same issue... had to: 1. Upgrade VBox |
I placed the path of a native ssh binary in PATH (ssh.exe of git bash) so that minikube uses that instead of its "native Go" SSH implementation, and I have no problems. Something must be busted with the native Go implementation. |
Same issue as @chrisalex2 on Windows 10 64-bit (April Update with latest update).
Problem persists after deleting |
Same issue here. Deleting I had to run |
Yep, same here. Workaround? Can I at least use an older version? Get lots of ssh handshake errors in spite of openssh being installed. Setup hyperv with the primary network switch as rec'ed in the install documentation. This is the command I run:
Never runs. |
@srflaxu40 I downgraded to 0.27.0 to get it working in the meantime. |
@F21 It works for my on win10. |
Yep, downgrade to 0.27 works for me as well. |
I can also confirm. Had the same error with ssh handshake on Command used: remove optional windows openssh -> didn't work Seems like there is serious bug in 0.28 version. |
I found that I can start minikube with 0.28.2 but I need to tinker with various settings and try a couple of times to get it working.
|
Closing as dupe of #2776 - this seems to be an ssh authentication issue rather than a networking issue. @davidovich mentioned to me that he suspects a data race in https://github.com/docker/machine/blob/6c90ba4d3da9a37ebc15c4c65d61479db075fca5/libmachine/ssh/keys.go#L57 - which apparently does not close files properly. |
In Hyper-V on Windows Server 2016, Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain From recommendation in above, I found my version is 0.30 and I have rolled back to 0.27. The problem has resolved. |
please see #3195 as this is likely the problem fix. |
Hi. Can you please help me how do I downgrade it,. Basically I need to do RnD on kubernetes and docker at local Windows 10 pro PC, so I am installing docker and kubernetes with hyper-v. With VirtualBox kubernetes is working fine but I unable to work on docker in that case. I have done following things
After these & deleting .minikube & .kube directory, when I enter minikube version it still says Any help will be highly appreciated. |
Environment:
Minikube version: v0.28.0
What happened: Starting minikube with v0.28.0 throws the following error:
E0614 17:09:30.577303 1732 start.go:174] Error starting host: Error creating host: Error executing step: Provisioning VM.
: Temporary Error: provisioning: error getting ssh client: Error dialing tcp via ssh client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain
Temporary Error: provisioning: error getting ssh client: Error dialing tcp via ssh client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
What you expected to happen: minikube to start correctly
How to reproduce it (as minimally and precisely as possible):
minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switch" --cpus 3 --memory 4096
Output of
minikube logs
(if applicable):F0614 17:18:44.984795 16020 logs.go:50] Error getting cluster bootstrapper: getting kubeadm bootstrapper: getting ssh client: Error dialing tcp via ssh client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Anything else do we need to know:
I have tried the latest version on two different computers running different versions of Windows 10 and both get the same issue. If I downgrade to v0.27.0 then it starts up fine.
The text was updated successfully, but these errors were encountered: