How To Get SSH Logins Working Again In macOS Ventura

SSH login from older hosts running OS X Yosemite 10.10.5 to macOS Ventura 13.2.1 was not working. SSH failed with a “No hostkey alg” error. To correct the problem, I added the following two lines to the bottom of BOTH /etc/ssh/ssh_config and /etc/ssh/sshd_config on the Ventura side:
1 2 |
HostKeyAlgorithms +ssh-rsa,ssh-dss PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss |
Be sure to stop and start Remote […]