If you’re on macOS 13 Ventura and have problems connecting to older SSH server versions, you can add
PubkeyAcceptedKeyTypes +ssh-rsa
to your ~/.ssh/config to make it work again. This setting has some security drawbacks, so you might want to consider enabling it only for specific, trusted hosts.