Closed hartmut-mariadb closed 1 year ago
This is the inverse problem of what is described in #12589 it would be very nice if both issues were resolved sooner rather than later. Newer clients having trouble connecting to older boxes and newer boxes not working with the old rsa insecure key are both a significant regression in general usability in vagrant that /should/ be trivial to fix.
Hi there. This was fixed via #13179 and is available in the latest release (2.3.7).
Cheers
Expected behavior
"vagrant ssh" into CentOS 6 guest should work as it did on host machines with earlier versions of Ubuntu.
Actual behavior
"vagrant ssh" fails silently. "vagrant ssh -- -v" output ends with:
On the guest I'm getting this in /var/log/secure:
I can log in with
I could get things working for by by adding
to my $HOME/.ssh/config file as a workaround
Reproduction information
Vagrant version
Vagrant 2.3.6
Host operating system
Ubuntu 22.10 with OpenSSH 9.0
Guest operating system
CentOS 6 installed from "generic/centos6"
Steps to reproduce
Vagrantfile
suggested fix
Add
to ssh commands executed by "vagrant ssh" so that connections to such old guests with the installed SSH server accepting ssh-rsa only are still possible. Security wise this shouldn't be much of an issue as this is for local host->guest connections on 127.0.0.1 only anyway ...