-
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
vmwarefusion: handshake failed: ssh: unable to authenticate, no supported methods remain #2126
Comments
Some more information from |
Try to run
Solved the problem for me |
It looks like the authorized ssh keys are not set up properly for the docker user in the VM.
|
I'm encountering the same issue and @msieper's fix worked for me. I think it may be a breaking change with VMWare Fusion 10.x. I'm unable to reproduce the issue in Fusion 8.5. |
I'm still using Fusion 8.5.8. |
The command suggested by @msieper itself did not work entirely for me but I manually created authorized_keys and added the public key and ran the chown command in the VM. I'm still unable to properly run minikube.
EDIT: Actually this did work but it seems like the timing of running the command is important. I completely deleted my .minikube folder and during the creation of the VM I ran the command it finished setting up. |
Had the same issue. Confirmed @msieper 's solution works. I am not sure since when this is broken, but we need to fix it. It's hard to fix it in vmwarefusion because it locates in docker/machine where they are basically inactive. I will make sure when #2118 gets merged, it doesn't have this issue. |
@johnbyrneio, you may be correct. I'm running VMWare Fusion 10.0.1. I had the issue and @msieper's script made it work. |
Confirmed to happen in VMWare Fusion 8.5.3 too - @msieper fix did work and I could continue installation. |
Hi guys, I had same issue and lost 2 hours looking for solution. @msieper fix works for me. Michael huge thank you! :) |
I did this slightly differently based on @msieper's solution: '/Applications/VMware Fusion.app/Contents/Library/vmrun' -gu docker -gp tcuser \
createDirectoryInGuest ~/.minikube/machines/minikube/minikube.vmx \
/home/docker/.ssh
'/Applications/VMware Fusion.app/Contents/Library/vmrun' -gu docker -gp tcuser \
CopyFileFromHostToGuest ~/.minikube/machines/minikube/minikube.vmx \
~/.minikube/machines/minikube/id_rsa.pub /home/docker/.ssh/authorized_keys Worked for me on VMware Fusion 8.5.8. |
Yeah, I ran this while doing a
|
This issue has been fixed in v0.25.0. |
This issue is still happening with the following configuration @msieper's fix seems to work to a point, but it looks like there may be other problems with the vmware fusion driver. |
H @msieper i, I am facing same issue, trying to start minikube in VM created in VMware worksattion [root@server3 ~]# minikube logs the above command is not working for me, my OS: CentOS release 6.9 (Final) VirtulaBox: /usr/bin/VBoxManage --version Minikube: minikube version: v0.23.0 Can you please help me, got stuck with this. Thank you. |
Hi I am facing this issue while using .\minikube.exe start --kubernetes-version="v1.10.0" --vm-driver="hyperv" --hyperv-virtual-switch="My Virtual Switch" --v=7 --alsologtostderr Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain Please help, Thank you |
This is still happening with v.29 and the chain of "ssh bug during install" issues ends here. If I use the v.27 iso (with the argument --iso-url "https://storage.googleapis.com/minikube/iso/minikube-v0.26.0.iso") it works, but any of the v.28+ isos stall during install with the recurring "Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain" error. Occasionally the error turns into "Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain" as well, whether I am using the native Go ssh client or the one at https://github.com/PowerShell/Win32-OpenSSH . |
I'm seeing the same issue with v0.29 and v0.28 on Windows 10 with hyperv. v0.27 is ok. |
I had the same issue on Windows 10 with hyper-v. |
Today, this issue happened again. Then I built minikube on my local modifying to using external ssh client and tried |
I suspect this is obsolete, especially now that there is a new driver ( note: Hyper-V issues are unrelated to this and a separate issue. I suspect this is due to firewall/proxy interference in those cases. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Please provide the following details:
Environment:
Minikube version (use
minikube version
):file:///Users/kchung/.minikube/cache/iso/minikube-v0.23.6.iso
The above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
What happened:
Running
minikube start --vm-driver=vmwarefusion
gets stuck:What you expected to happen:
Using the previous release of minikube makes it further and seems to work better.
How to reproduce it (as minimally and precisely as possible):
See above.
minikube start --vm-driver=vmwarefusion
Output of
minikube logs
(if applicable):Anything else do we need to know:
The text was updated successfully, but these errors were encountered: