-
Notifications
You must be signed in to change notification settings - Fork 54
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
Command 'vagrant up' fails with 'An error occurred in the underlying SSH library' #141
Comments
I experienced the same issue on Windows while testing VirtualBox 6.1. I managed to fix it without installing an older version. I'll try to backtrace the steps to fixing it. |
Here's some more context from a Macbook Pro w/ Mac Os Catalina 10.15.4 where
I redacted few thousand lines of debug output above. There's no other error messages than
It's really hard to find the root cause for this. It might even be unrelated to net-ssh, which I guess is the "underlying SSH library that Vagrant uses". I have tried with ssh-agent running, without it, with new clean keychain (where Mac stores passwords, keys, certs etc), removing and reinstalling VirtualBox and Vagrant with plenty of reboots in between and so on to no avail. What I haven't tried is adding the Vagrant generated keys to ssh-agent. Nothing, except the error message, implies I should do that. I've downgraded to VirtualBox 5.2 for now. |
I've had various SSH issues happen, and have witnessed others have them happen sporadically with Seravo's boxes over a period of time. Now experiencing it with a fresh 2020 MBP macOS 10.15.5. In comparison, https://github.com/roots/trellis ssh works on 6.x. Circumventing with VB 5.2 for the time being. |
On Linux Vagrant 2.2.x and VirtualBox 6.1.x it is confirmed to work OK on multiple computers and users. For Windows and Mac with VirtualBox 6.1.x the situation is not properly tested yet. |
I'm now experiencing this error with Vagrant 2.2.9, VirtualBox 6.1 and Ubuntu 20.04:
|
Works fine after running |
Same problem on
|
This should be fixed or at least mitigated in the latest seravo/wordpress-beta box version 20200610.0.0. Please test again. |
Quick commands to test:
|
Testing seravo/wordpress-beta box version 20200610.0.0. I was able to to reproduce the issue with
When downgrading the virtualbox 6.1.8. --> 6.1.6. everything worked ok. So this combination works
|
Can confirm. Issue persists with Thanks for the help @ottok and @nellileinonen ! |
Could you please re-test using the latest Vagrant box?
|
Can anyone from @Seravo/dev-team reproduce this? |
I've been running VirtualBox 6.1.18 for a while now with Vagrant 2.2.14 and ssh-agent running with no issues. |
Some users encounter this bug with VirtualBox 6.1 on MacOS X:
This seems to be some VirtualBox 6.1 compatibility issue.
The quick solution is to completely uninstall and remove VirtualBox 6.1 and install version 5.2 instead, which is known to be a good version and works well.
Related: #96
The text was updated successfully, but these errors were encountered: