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
Cannot ignore new Windows 10 built-in SSH client in Vagrant 2.0.2 #9433
Comments
on a bare new W10 system I got this:
had to explicitly give permissions to the private key removing 'Authenticated users' and 'users' from acl. |
I uninstall Powershell SSH ( System32/openSSH), then restarted the system. Now I can access vagrant via ssh. Run Goto App-> Manage Optional features -> Uninstall OpenSSH components ( Windows 10 settings) |
Have to try that, thank you. |
@sibinx7 that is not a real solution. there should no be conflict with powershell |
I have a similar issues and it seems related to
|
@Raffaello Yes, It just a workaround. I had this issue after I install Heroku command line tool and PowerShell openssh. Anyway vagrant is working fine with |
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.0.2
Host operating system
Windows 10 x64 version 1709 (OS Build 16299.214)
also: VirtualBox 5.2.6 r120293
Guest operating system
Ubuntu 14.04
Vagrantfile
The result of
vagrant init ubuntu/trusty
is sufficient.Expected behavior
vagrant ssh
should succeed.Actual behavior
vagrant ssh
returned error:Steps to reproduce
cmd.exe
shell.vagrant init ubuntu/trusty
vagrant up
vagrant ssh
References
With increased verbosity (eg
vagrant ssh -- -vvv
) the output shows:This
Load key ... invalid format
error is most likely a bug with Windows 10's OpenSSH Beta, possibly related to only ed25519 keys currently being supported: PowerShell/Win32-OpenSSH#973 (comment)However, I cannot easily coerce Vagrant to use its embedded SSH client instead since this change:
#9143 (comment)
I'd hoped
VAGRANT_PREFER_SYSTEM_BIN=0 vagrant ssh
orVAGRANT_PREFER_SYSTEM_BIN=false vagrant ssh
would work but it didn't.Modifying the PATH to exclude
C:\Windows\System32\OpenSSH
resolves the issue. Using a Cygwin shell with its own SSH client also resolves the issue.Uninstalling the Windows 10 SSH beta also resolves the issue.
Would be great if Vagrant 2.0.2 can be forced to use embedded SSH via vargant-specific environment variable command line parameter or even if Vagrant could generate ed25519 SSH keys.
The text was updated successfully, but these errors were encountered: