When I SSH from macOS 13 (Ventura):
sudo ssh -i /path/to/my_id_rsa [email protected]
I’m asked for a password when there is none on this key.
When I use the same my_id_rsa file on Filezilla SFTP I can access the server.
When I run:
sudo scp ~/.ssh/my_id_rsa.pub [email protected]:
It returns:
Unable to negotiate with xx.xx.xxx.xx port 22: no matching host key type found. Their offer: ssh-rsa,[email protected],ssh-dss scp: Connection closed
How can I overcome this error?