Hi, On 08/04/22 at 17:36 -0300, Antonio Terceiro wrote: > On Fri, Apr 08, 2022 at 05:54:56PM +0200, Lucas Nussbaum wrote: > > I confirm that your fixed package works on a stable system with the > > reporter's test case. > > > > However, it doesn't work when trying to connect to a Debian 'testing' > > system (with OpenSSH 8.8) outside of vagrant: > > > > /usr/share/rubygems-integration/all/gems/net-ssh-6.1.0/lib/net/ssh/transport/algorithms.rb:407:in > > `negotiate': could not settle on host_key algorithm (Net::SSH::Exception) > > Server host_key preferences: rsa-sha2-512,rsa-sha2-256 > > Client host_key preferences: > > ssh-rsa,ssh-ed25519-cert-...@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521-cert-...@openssh.com,ecdsa-sha2-nistp384-cert-...@openssh.com,ecdsa-sha2-nistp256-cert-...@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,ssh-rsa-cert-...@openssh.com,ssh-rsa-cert-...@openssh.com > > > > I think this is because you only backported #838. You also need to > > backport https://github.com/net-ssh/net-ssh/pull/771, which fixes > > https://github.com/net-ssh/net-ssh/issues/712 (see > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009155#5 ). > > Ah! Yeah I missed that. Add the new patch, this one was easier to > backport. Can you try the updated package attached? The source is commit > e5552c1f, currently HEAD of that same debian/bullseye branch.
I confirm that this package works fine. Thanks! Lucas