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

Apple Business
Blog
Apple is taking a big step with Apple Business
Apple announced something special this week. Not a new device, but something that might be even more interesting for many organizations: Apple Business. A completely new platform with which Apple brings all its business services together in one environment. And frankly: this is a development that we at Analyst ICT are following with great interest. The problem: fragmented tools and unnecessary complexity Many organizations working with Apple will recognize the problem: Multiple portals (Apple Business Manager, Business Essentials, Connect) Different tools for management, branding, and support Additional costs for basic functionalities such as device management This leads to a lack of clarity and costs time. And…
Apple Technical Partner
Blog
Apple Technical Partner
Good news: Analyst ICT is an official Apple Technical Partner. We're proud of that. It confirms what we have believed for years: Apple has a serious place within the modern workplace for SMEs. In more and more organizations we see that employees like to work with a Mac, iPhone or iPad. At the same time, these devices must be managed securely, integrated with existing systems and fit within the organization's IT policy. This is exactly where our expertise lies. With the status of Apple Technical Partner, Apple shows that Analyst ICT has the knowledge and experience to professionally implement Apple technology in business environments...
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...

A newsletter

Superlogic right?