I got 2 Ubuntu machines, a new A and old B. The ssh configuration files are identical, but versions are different, as expected:
→ ssh -v localhost
A:
OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022
B:
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL **1.1.1f** 31 Mar 2020
And there's a third machine, C, an old server, which exhibits a behavior which I did not expect - the old machine B can establish a publickey ssh connection to it, while the new A can not (both A's and B's public keys are in authorized_keys for the user):
debug1: send_pubkey_test: no mutual signature algorithm
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
Not really knowing if it will help, I went and installed a new version of openssl from source to C:
# openssl version
OpenSSL 1.1.1q 5 Jul 2022
, but that didn't change anything I did notice an extra line in the C's ssh config though:
GSSAPIDelegateCredentials no
but I doubt it has anything to do with the problem I experience..
What am I doing wrong?
Thank you all for your time!