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:
Recently I had to launch an Ubuntu instance in AWS because i needed to run alien to convert a .rpm into a .deb package. When I added my SSH keys as usual, I found I was still unable to login. This is the error from the /var/log/auth.log file: Dec 9 16:47:55 localhost sshd[1550]: userauth_pubkey: key […]