Home > Apple > Mac

SSH not working in macOS Ventura: How to Fix

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].

SSH not working in macOS Ventura

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?

SSH not working in macOS Ventura

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.

  1. Launch Finder and use the Shift+Command+G shortcut keys to bring up the Go to Folder dialog box.
  2. Then type in the below location and hit Enter [or you could manually go there via Macintosh HD > etc > ssh]
    /etc/ssh/

    SSH not working in macOS Ventura

  3. Now copy the ssh_config file and paste it somewhere else [it will act as a backup].
  4. 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

    SSH not working in macOS Ventura

  5. 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.


Share:
  • Unfortunately this didn’t work for me.

  • Subrajit

    does any one facing scp issue ?

  • 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 🙁

  • Thanks a lot!!

  • It still shows
    `Permission denied (publickey).`

    I added in etc/config as well as /ssh/config in Host*
    but nothing worked

  • Didn’t worked for me 🙁

  • Nice and easy steps to fix a headache v13.0 🙂

  • 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”’

  • “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?

  • 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.

  • William R Tarello

    Bummer, that didn’t work for me.

  • FILIBERTO

    Thanks Hassan

  • Neil Johnson

    Straight to the point, fixed the issue that Ventura 13.0 showed straight after upgrading.

  • Thanks