SSH Access in MacOS Sonoma 14.3 not accepting RSA for key exchange, even after adding RSA to config
I have an older piece of code that establishes the connection to the mac, for the purposes of key exchange, with RSA.
Since Ventura, I cannot initiate an ssh connection with the mac out of the box. I need to modify the ssh_config (or my user's .ssh/config) with the following:
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
This has worked all the way through Sonoma 14.1
However, I have received a new mac mini with 14.3 installed, and this is not working anymore.
I have tried adding that, as well as...
PubkeyAcceptedKeyTypes +ssh-rsa
HostkeyAlgorithms +ssh-dss, +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
Nothing seems to work. In the code, I get this error: Unable to exchange encryption keys
Using OpenSSH on the same client machine, it works. I think it's something to do with the initial key exchange, but I can't even find information on how to have the ssh tool use those keys for testing.
The developer is not updating the code anymore, and I have built something on top of it.
Any ideas?
Mac mini (M2, 2023)