0

When I SSH from macOS 13 (Ventura):

sudo ssh -i /path/to/my_id_rsa abc123@xx.xx.xxx.xx

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 abc123@xx.xx.xxx.xx:

It returns:

Unable to negotiate with xx.xx.xxx.xx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-dss scp: Connection closed

How can I overcome this error?

Giacomo1968
  • 58,727
s_p
  • 315

0 Answers0