-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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: Gets hung at "SSH auth method: private key" #13124
Comments
I'm now seeing this issue too having upgraded to MacOS 13.3.1 yesterday. Same Virtualbox/Vagrant versions. Was working fine prior to the OS update. |
Same problem, macOS 13.3.1, virtualbox 7.0.8,156879, vagrant 2.3.4, with Linux distro rhel9/rocky9/alma9. other distros works, tried rocky8 and fedora. this seems to be related to vagrant not able to ssh into the box after it is booted. Both macOS 13.3.1 and RedHat 9 has updated openssh deprecating/disabling old protocols, might be part of the problem?!. I tested on macOS 13.0, their rocky9 booted successfully, no problem there. VMware fusion works, but doesn't work with VPN, overall clunky networking so I prefer virtualbox. Looking at the output from
Attempts are made with different
I hope this brings some light on the issue and I'm happy to try any suggestions. |
facing the same issue. |
I believe this can be worked around using the extra_args setting in the Vagrantfile's ssh settings: Vagrant.configure("2") do |config|
config.ssh.extra_args = ["-o", "PubkeyAcceptedKeyTypes=+ssh-rsa", "-o", "HostKeyAlgorithms=+ssh-rsa"]
end |
Didn't work, issue still persists. |
So far I have been unable to reproduce this error. Would someone be able to provide a gist of the full debug output from running |
https://gist.github.com/ola-mattsson/da939e5d26d35016cca7a293fa13f9e8
|
@ola-mattsson Thank you for the debug log, it is very helpful! When the ssh connections are attempted, the result is always:
if you open the guest in the VirtualBox GUI, does it show it as fully booted? |
The VM has opened port 22 for SSH connections. ^ I saw this behaviour for both alma 9 and rocky 9 vm's, and for both official and some other user-created boxes. |
Yes, in VirtualBox VM, it just keeps scrolling some boot messages, I guess, can't read it, tried different graphics settings but it's not readable. Seems VirtualBox can't boot it. |
Thanks for the confirmation. As this seems to be an issue with the specific boxes and Vagrant, I'm going to close this issue. Cheers! |
Issue
The command
vagrant up
gets hung at "SSH auth method: private key"I've tried reading & implementing various suggestions I could find online on similar problems from Github issues & Stack Exchange but none of them seemed to work.
The relevant information about the OS, Vagrant version, VirtualBox version and the Vagrantfile are present in the Github Gist here.
Relevant specs
OS => MacOs Ventura 13.3.1 (22E261)
Vagrant version => 2.3.4
VirtualBox => Version 7.0.6 r155176 (Qt5.15.2)
Debug output
Please see the following Github gist:
https://gist.github.com/kramankishore/e9efdad152a143219777ca1a7ba9ebf1
Expected behaviour
vagrant up
execution should have finished successfully and not get hung at "SSH auth method: private key"Steps to reproduce
vagrant up
Vagrantfile
Thank you
I'm not sure if this is a bug related to Vagrant or MacOS or something else. I've tried various things based on the help available online but nothing seemed to work. If this is a bug (as it seems to be), then I would like to report it. If not, any help in solving this issue is greatly appreciated. Thanks a lot.
The text was updated successfully, but these errors were encountered: