ssh from macOS 14 (Sonoma) fails with "no matching host key type found" [RESOLVED]
-
Trying to ssh from macOS Sonoma to Onion Omega 2S+ results in this message:
Unable to negotiate with 192.168.1.37 port 22: no matching host key type found. Their offer: ssh-rsa
Now, I know I can get around that by forcing the mac to use ssh-rsa by doing this:
ssh -oHostKeyAlgorithms=+ssh-rsa root@<ip>
But is there a way to fix this permanently?
-
@SpiderKenny in your user home directory there is a hidden directory ".ssh" , inside that directory is a file named "config". If these do not exist then you can create them. Inside the config file add an entry for each host you need to access, like this:
Host 192.168.1.175
HostKeyAlgorithms +ssh-rsaHost 192.168.1.176
HostKeyAlgorithms +ssh-rsaI created a FAQ for this some time ago:
-
@crispyoz Great, thank you!
-
This issue is resolved in the new beta firmware. More info on that here and here - with more news coming soon!