SSH does not work in macOS Ventura for Unifi / Ubiquiti, among others

dsc0222

Some Mac users have found that SSH no longer works on their Mac since they have been updated to macOS Ventura 13 or newer. They usually see an error message when they try to ssh to another server along the lines of “no matching host key type found. Their offer: ssh-rsa“.

The obvious reason for this problem is that the version of OpenSSH that ships with macOS Ventura disables RSA signatures by default, so you can solve the problem by either using a more secure hash, or by simply allowing RSA signatures. We'll show you how to do the latter.

We are going to use nano because it is easy and user-friendly, but you can also use vi/vim or any other text editor of your choice.

We are going to modify the ssh_config file to allow RSA host key again, here is how to do this:

  1. Open the Terminal (via Spotlight or via the Utilities folder) and enter the following command string:

sudo nano /etc/ssh/ssh_config

You have to authenticate with the admin password.

2. Scroll all the way to the bottom of the ssh_config file, then add the following lines to the bottom of ssh_config:

HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa

3. Hit Control+O to save, and Control+X to exit.

Your SSH problem should now be solved, we thought it would be super logical to share this information with you.

 

Recent blogs

Macadmins Leiden
Blog
MacAdmins Meeting: What's relevant for your organization?
Last week, we attended the MacAdmins Meeting in Leiden. It's a gathering focused on Apple administration, security, and innovation. What stood out? Developments are moving fast. But more importantly: they are becoming increasingly relevant for SMEs. We'd like to share the key insights with you. What's happening? And what does that mean for your organization? Running AI Locally: Control Over Data and Costs AI is now everywhere. But one question remains central: where does your data reside? A significant topic during the meeting was running AI models (LLMs) locally. Instead of relying on external cloud platforms, more and more...
Microsoft AI
Blog
Microsoft and OpenAI break exclusivity: what does this mean for your IT strategy?
The collaboration between Microsoft and OpenAI – the powerhouse behind ChatGPT and Copilot, among others – is undergoing a fundamental change. Until now, Microsoft was the exclusive partner. But that is no longer the case. And this is more significant than it might seem. What has changed? Microsoft and OpenAI have restructured their partnership. The key changes: Exclusivity is gone OpenAI can now offer its technology through other cloud providers such as Amazon and Google Microsoft remains important, but no longer exclusively Azure remains the primary cloud partner, but not the only one The collaboration continues, but changes financially OpenAI will continue to make payments until 2030…
istorm egypt cairo
Blog
From Cupertino to Cairo: How Apple Connects the World
Sometimes things come together in a special way. Last week, we were in Egypt. A country with a rich history, impressive culture, and – perhaps less known – a fast-growing digital market. What immediately struck us: Egypt doesn't have an official Apple Store yet. And yet, Apple is clearly present there. Not through the well-known flagship stores, but through strong local partners. iStorm in Cairo One of those partners is iStorm, an Apple Premium Reseller with multiple branches in Egypt. And that's precisely where the personal connection was for us. During our visit to Cupertino earlier this year, we met people from...

A newsletter

Superlogic right?