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
vagrant@127.0.0.1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). #9831
Comments
|
I had the same issue on a Windows 7 Host every time I tried to |
|
But I dont have openssh installed.What may be the reason of error in my case ? Note: I have PuTTy and TigerVNC installed. |
|
Try checking your PATH in environment variables to see if there are any ssh executables in the directories. |
|
Would you please provide a gist of the debug output. Thanks. |
|
|
|
I had the same environment and sitation/bug. I think it happend ( |
|
after windows 10 update 1803 has an error in wsl |
|
Hi! win10 has include a ssh client. You just need to remove it from "settings => apps => apps and features => Optional features". I not see this as a real issue from vagrant. |
|
I noticed |
|
Generated private key permissions should be fixed in the latest Vagrant release (updated in 2.1.2). You can also tell vagrant to prefer the embedded tools using an environment variable: https://www.vagrantup.com/docs/other/environmental-variables.html#vagrant_prefer_system_bin Cheers! |
Where is "apps and features => Optional features"??? |
|
If you're on windows 10 powershell. Just set the environment variable like this: |
|
What is probably happening is that you cannot ssh in the box because you deleted the vagrant entry in ~vagrant/.ssh/authorized_keys in the vagrant box. So if somehow you still have a session open, modify the authorized_key accordingly (or cut and past a private key from vagrant box to host) |
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Vagrant version
vagrant 2.1.1
Host operating system
This is the operating system that you run locally.
Guest operating system
I have used this cmd to get guest OS.
git clone https://github.com/oracle/vagrant-boxes
Expected behavior
once this cmd is executed:
$ vagrant ssh
It should go fine.
Actual behavior
vagrant@127.0.0.1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Steps to reproduce
2 cd /vagrant-boxes/Kubernetes (master)
3: execute : vagrant up master
Bringing machine 'master' up with 'virtualbox' provider...
==> master: Machine already provisioned. Run
vagrant provisionor use the--provision==> master: flag to force provisioning. Provisioners marked to run always will still run.
main Issue
step4: $ vagrant ssh
vagrant@127.0.0.1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
References
similar to issue: #9433.
Only difference is I am using Windows 7 as host instead of win10 in that issue.
The text was updated successfully, but these errors were encountered: