Repair SSH Not Engaged on MacOS Ventura

Mac Terminal icon

Some Mac customers have found that SSH is just not engaged on their Mac since updating to macOS Ventura 13 or newer. Sometimes they’ll see an error message when making an attempt to ssh into one other server alongside the traces of “no matching host key kind discovered. Their supply: ssh-rsa“.

The obvious motive for this subject is that the model of OpenSSH that ships with MacOS Ventura disables RSA signatures by default, thus you may resolve the issue by both utilizing a safer hash, or by merely permitting for RSA signatures. We’ll present you the best way to do the latter.

We’re going to make use of nano as a result of it’s straightforward and consumer pleasant, however you’re welcome to make use of vi/vim or no matter textual content editor of your alternative.

Repair SSH Not Working with RSA Signatures on MacOS Ventura

We’re going to switch the ssh_config file to permit for RSA host key once more, right here’s how to do that.

Open the Terminal (by way of Highlight or via the Utilities folder) and enter the next command string:

sudo nano /and so on/ssh/ssh_config

You’ll have to authenticate with the admin password.

Scroll all the way in which to the underside of the ssh_config file after which add the next traces to the underside of ssh_config:

HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa

Hit Management+O to save lots of, and Management+X to exit.

How to fix SSH RSA connection issue on Mac

Attempt utilizing SSH to connect with a server with RSA keys once more, it ought to work as meant.

When you’re on the command line, you may at all times allow ssh from Terminal as properly for those who’d like, permitting for inbound ssh connections to your Mac. For instance, possibly you wish to remotely entry your Mac from the command line from an iPad or one other pc, and this may enable for that.

This error can seem even after confirming that SSH is turned on for MacOS, which shouldn’t have any impression on outbound ssh connections anyway, however some customers report has resolved their difficulties so attempt that too, and clearly that will make a distinction if the pc you’re making an attempt to connect with is a Mac working SSH, since some Mac customers have discovered that SSH is disabled by default in MacOS Ventura even when it was enabled beforehand earlier than they up to date system software program.

Related Articles


Please enter your comment!
Please enter your name here

Latest Articles