It happens when you have old version of OpenSSH on the host/server.
Add following lines to your .ssh/config file
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
to make it work with old version.
It should look like this,
SSH not working in MacOS Ventura is now resolved!
@Copyright 2020 Peham R.
Thank you buddy! Saved my day!
Glad to Help! 🙂