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

macbook neo
Blog
What can you use the MacBook Neo for?
For many SMB employees, a heavy workstation laptop is not at all necessary. Instead, the MacBook Neo is designed for work that revolves primarily around communication, administration and cloud applications. Administration and office work For email, Microsoft 365, Google Workspace or accounting software, the MacBook Neo is more than adequate. For example: email and calendar management quoting spreadsheets and document processing working in CRM or ERP systems Modern cloud workplace Many companies today work completely in the cloud. Applications such as: Microsoft 365 Odoo HubSpot Exact web portals and dashboards run smoothly on this MacBook. Video calling and collaboration With the built-in camera and microphones, the...
odido hack
Blog
What we can learn from the hack at Odido
A wake-up call for identity security and CRM systems It was recently announced that telecom provider Odido fell victim to a major hack. In the process, customer data was captured through a customer contact system. It involved millions of records including names, addresses and contact information. Many of our customers noticed that their data was also included in the hack. This incident is not an isolated incident. Worldwide, we are seeing a marked increase in attacks on CRM systems and cloud environments such as Salesforce. Not because those platforms are “insecure,” but because attackers are getting smarter about abusing identities. What exactly happened? And more importantly, what can...
Microsoft
Blog
Microsoft 365 is getting more expensive. What does this mean for your organization?
Microsoft has announced that effective July 1, 2026, the prices of virtually all Microsoft 365 and Office 365 business licenses will increase. The increases range from a few percent to more than 25%, depending on the type of license. That's no small change. Certainly not for organizations with many users. But the good news? You don't have to worry about this yourself. What exactly is changing? Below is an overview of the most important announced price changes: License Indicative increase Microsoft 365 Business Basic +16.7% Microsoft 365 Business Standard +12% Microsoft 365 Business Premium 0% (no increase for now) Office 365 E3 +13%...

A newsletter

Superlogic right?