In this guide, we will show you the steps to fix the issue of SSH not working in macOS Ventura. Secure Shell is an encrypted/cryptographic network protocol that enables two computers to communicate and share data over the servers. Since the communication is encrypted, it is the preferred mode, especially on insecure networks. When it comes to Apple’s underlying OS, it already features a built-in SSH client [Terminal].
It is based on a client-server architecture and allows you to connect an SSH client instance with an SSH server. However, as of late, it is giving out a tough time to the users on the latest macOS. According to the affected users, SSH is not working in macOS Ventura. As a result, they are unable to log in to their Mac running Ventura from devices with deprecated keys. Apart from that, some are also getting the “no matching host key type found” error. So why is this happening?
One reason could be the fact that Ventura comes with OpenSSH_9.0p1 and “This release disables RSA signatures using the SHA-1 hash algorithm by default”. So how to fix this issue? Well, advanced users could opt for the technical route of generating keys based on a more secure hash algorithm. On the other hand, beginners could make use of the nifty workaround that we shared below. Follow along.
Fix SSH not working in macOS Ventura
Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your PC by performing the below steps.
- Launch Finder and use the Shift+Command+G shortcut keys to bring up the Go to Folder dialog box.
- Then type in the below location and hit Enter [or you could manually go there via Macintosh HD > etc > ssh]
/etc/ssh/
- Now copy the ssh_config file and paste it somewhere else [it will act as a backup].
- Then launch the original ssh_config file and add the following two lines at the end of the file:
HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa
- Once done, hit the Command+S shortcut keys to save the changes.
That’s it. These were the steps to fix the issue of SSH not working in macOS Ventura. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
- WiFi not working on macOS Ventura: How to Fix
- macOS Ventura Long Boot-Up Time: How to Fix
- How to Fix Specific Refresh Rate for External Display in Mac
- Mac shutdown when trying to log in: How to Fix
Thanks
🙂
Straight to the point, fixed the issue that Ventura 13.0 showed straight after upgrading.
Glad that it worked out for you Neil.
Thanks Hassan
Bummer, that didn’t work for me.
I get a permissions issue when I try to change or save the new ssh_config.
You don’t have permission to write to the folder that the file “ssh_config” is in.
I’m admin on my macbook and I have changed permissions to no avail.
“You don’t have permission to write to the folder that the file “ssh_config” is in.”
is the message I get when I try to change the ssl_config file. I have total admin access on my Macbook. Any Ideas?
Hi, I’m having a problem while running scp command on macos ventura. I already edited the ssh config file but it still error while trying to run an scp command
”’subsystem request failed on channel 0
scp: Connection closed”’
Nice and easy steps to fix a headache v13.0 🙂
Didn’t worked for me 🙁
It still shows
`Permission denied (publickey).`
I added in etc/config as well as /ssh/config in Host*
but nothing worked
Thanks a lot!!
I did it, but it’s not working – when I try to login, nothing happens and after some time it says that the operation timed out. I tried to login to the same adress on different computer (with linux) and it worked. Remote login is also turned on, I don’t know what to do 🙁
does any one facing scp issue ?
Unfortunately this didn’t work for me.