-
Notifications
You must be signed in to change notification settings - Fork 35
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
SSH hangs: timeout during server version negotiation with AlmaLinux 9 #67
Comments
A colleague of mine has the same issue (also Mac), and I just started experiencing it last Wednesday in Windows. With the following error:
|
Hey @pietervogelaar , I did manage to make it work by explicitly installing SSH in the vagrant box. I found out while trying a docker instance of Alma9 where I had a lot of trouble with ssh. I don't quite understand why it happens, but seems to be a matter of security restrictions in latest versions of Alma9, so now when it would create the machine with some basic packages, you may need to explicitly install them.
|
@jesteban93 This doesn't work. Provisioners will only run after the VM is successfully set up. It's still stuck at the first SSH connection attempt. |
To answer my question "Is there a way to access the VM console screen to login as root? Then I can maybe see an error on the SSH server side.": For CentOS 7 the debug instruction that is described at https://github.com/ppggff/vagrant-qemu#debug works. I can login as root to the VM console through a serial connection, like |
I would like to run an amd64 AlmaLinux 9 Virtual Machine on an arm64 (silicon) MacBook Pro with Vagrant (2.4.3) and Qemu (9.2.0).
However with this configuration that uses the almalinux/9 vagrant box, it keeps hanging at the SSH step:
If I use the centos/7 vagrant box as described in the README it just works.
I tried to debug it, but can't figure it out. It seems like the SSH server drops or refuses the connection as soon as the client shares its protocol. The line "local is" is normally followed by a "remote is" line.
Is there a way to access the VM console screen to login as root? Then I can maybe see an error on the SSH server side.
I also asked a question at https://stackoverflow.com/questions/79331456/how-to-run-an-amd64-almalinux-9-vm-on-an-arm64-silicon-macbook-pro-with-vagran
The text was updated successfully, but these errors were encountered: