Mac OS Ventura issues with SSH connections

If you have issue with MacOS ventura, connecting with SSH, please use this client config to downgrade the connection to RSA. Thanks to my buddie David.

If you have issue with MacOS ventura, connecting with SSH, please use this client config to downgrade the connection to RSA. Thanks to my buddie David.

Open a terminal


sudo mkdir ~/.ssh
sudo nano ~/.ssh/config

Add the following lines:


Host *
   HostkeyAlgorithms +ssh-rsa
   PubkeyAcceptedKeyTypes +ssh-rsa

CRTL + X and accept with Y to save the file

Restart terminal to renew ssh config.

This solves this error:


Unable to negotiate with YOURIP port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

Created by Daniel on 11/22/2024

Copyright © DanielKnows.com 2019 - 2024 - Built with NuxtJS

Subscribe for Tech Tips!

Stay updated with the latest tech insights and tips. Subscribe now!

{}