macOS / Restore SSH compatibility after upgrading to macOS 13 (Ventura)
Body
Objective
- To provide instruction on resolving the error: Unable to negotiate with <server IP address> port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
User
- Miami University Community
Scope
- macOS Ventura introduces a new version of the OpenSSH client that blocks ssh-rsa connections by default
Environment
- macOS computers running macOS Ventura
Instructions
- Edit your ~/.ssh/config file using the text editor of your choice
- If you do not have a config file in your ~/.ssh directory, you can create one
- Add the following lines under the Host * entry:
Details
Details
Article ID:
148184
Created
Fri 12/9/22 11:35 AM
Modified
Thu 5/7/26 2:33 PM