Home > Common Problem > How to fix SSH not working on MacOS Ventura

How to fix SSH not working on MacOS Ventura

PHPz
Release: 2023-04-23 11:46:07
forward
1473 people have browsed it

How to fix SSH not using RSA signatures on MacOS Ventura

We will modify the ssh_config file to allow RSA host keys again, here is how to do it.

Open a terminal (either through Spotlight or through the Utilities folder) and enter the following command string:

sudo nano /etc/ssh/ssh_config

You need to authenticate using your administrator password.

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

HostkeyAlgorithms ssh-rsa<br>PubkeyAcceptedAlgorithms ssh-rsa

Press Control O to save and Control X to exit.

如何修复 SSH 在 MacOS Ventura 上不起作用

Try using SSH again to connect to the server with the RSA key and it should work.

When you are at the command line, you can also enable ssh from the terminal at any time if you wish, allowing inbound ssh connections to your Mac. For example, maybe you want to access your Mac remotely from the command line on your iPad or another computer, and this will allow that.

The above is the detailed content of How to fix SSH not working on MacOS Ventura. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template