How to Fix SSH Not Working on MacOS Ventura / Sonoma (2024)

How to Fix SSH Not Working on MacOS Ventura / Sonoma (1)

Some Mac users have discovered that SSH is not working on their Mac since updating to macOS Ventura 13 or newer, including Sonoma. Typically they’ll see an error message when attempting to ssh into another server along the lines of “no matching host key type found. Their offer: ssh-rsa“.

The apparent reason for this issue is that the version of OpenSSH that ships with MacOS Ventura disables RSA signatures by default, thus you can resolve the problem by either using a more secure hash, or by simply allowing for RSA signatures. We’ll show you how to do the latter.


We’re going to use nano because it’s easy and user friendly, but you’re welcome to use vi/vim or whatever text editor of your choice.

How to Fix SSH Not Working with RSA Signatures on macOS Sonoma / Ventura

We’re going to modify the ssh_config file to allow for RSA host key again, here’s how to do this.

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

sudo nano /etc/ssh/ssh_config

You’ll need to authenticate with the admin password.

Scroll all the way to the bottom of the ssh_config file and then add the following lines to the bottom of ssh_config:

HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa

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

How to Fix SSH Not Working on MacOS Ventura / Sonoma (2)

Try using SSH to connect to a server with RSA keys again, it should work as intended.

While you’re at the command line, you can always enable ssh from Terminal as well if you’d like, allowing for inbound ssh connections to your Mac. For example, maybe you want to remotely access your Mac from the command line from an iPad or another computer, and this would allow for that.

This error can appear even after confirming that SSH is turned on for MacOS, which shouldn’t have any impact on outbound ssh connections anyway, but some users report has resolved their difficulties so try that too, and obviously that would make a difference if the computer you’re trying to connect to is a Mac running SSH, since some Mac users have found that SSH is disabled by default in MacOS Ventura & macOS Sonoma even if it was enabled previously before they updated system software.

Related

How to Fix SSH Not Working on MacOS Ventura / Sonoma (2024)
Top Articles
Human Consciousness and Artificial Intelligence
Apply sensitivity labels to your files and email
myrtle beach motorcycles/scooters - by dealer - craigslist
Uconn. Bursar Office
Quilla Early Learning Academy
10 principais estratégias e dicas de teste de múltipla escolha
Valtra Q-Serie | 230-305 PS | Denkt wie ein Profi. Arbeitet wie ein Tier.
Vlb Aurora
Seething Storm
SCDOR | Sales Tax
208000 Yen To Usd
Patriot Ledger Obits Today
Belly Dance Clackers Crossword
Play It Again Sports Clive Photos
Tsunami Creamer 3000
Tcc Virginia Beach Testing Center
Loreal Smith Sarkisian Age
Maxpreps Field Hockey
Queens University of Charlotte
Ultimate Guide to Visiting Dungeness, UK
Eros Com Indianapolis
Facility Scheduler Hca North Florida
Denver Post Replica Login
Indiana Jones 5 Showtimes Near Regal La Live
O'reilly's Milford Ohio
Park District Round Lake
Stugats In English
Bfg Straap Dead Photo Graphic
Joann Employee Pay Stub
Laying Hens For Sale Near Me Craigslist
Primepoint Business Access
Chocolate Crazy Cake
Isabella Lauren Leak
Olivia Dunne says 'tears filled my eyes' as LSU won NCAA women's gymnastics championship
Jasmine9966
Optum Primary Care - Winter Park Aloma
Alineaciones De Rcd Espanyol Contra Celta De Vigo
Fv-F Fv-G Pay Scale
Skytils Mod
Obituaries and Death Notices of St. Martin Parish Louisiana
Sinfuldeeds Russian French
phoenix for sale by owner "puppies" - craigslist
Fgo Spirit Root
0Gomovies: Free Malayalam, Tamil & Hindi Movies - UK Journal
Pacific Seed Bank Login
Kuronime List
Restored Republic Jan 3 2023
Thatlewdwriter
John Deere 2520 For Sale Craigslist
Shaw University Football Roster
Latest Posts
Article information

Author: Otha Schamberger

Last Updated:

Views: 5872

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Otha Schamberger

Birthday: 1999-08-15

Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

Phone: +8557035444877

Job: Forward IT Agent

Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.