Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

remote server ssh from MacOS

I discovered this morning that I am unable to login to my remote server using ssh (nor can I scp to the server) from my new Mac: MacBook Pro, Apple M1 Max. I am able to login using my old MacOS High Sierra MacBook Pro 2017. Both have FireVault on; FireWall off. Any clue as to why?

MacBook Pro Apple Silicon

Posted on Jan 18, 2023 11:38 AM

Reply
Question marked as Best reply

Posted on Jan 18, 2023 1:05 PM

Either regenerate your ssh-keygen pairs using -t ed25519 and redistribute your keys, or add the following to your $HOME/.ssh/config file:


Host *
    HostkeyAlgorithms        +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa
5 replies

Jan 18, 2023 2:10 PM in response to Librarian13

On you local system where you are actually typing the ssh command.


Ventura downgraded rsa keys, but if you have been using ssh-keygen generated rsa keys and have distributed them to remote systems, you can still use them, but you need to tell the ssh command it is OK to use them. That is what the +ssh-rsa option is doing.


The alternative is to replace all your rsa keys with ed25519 ssh-keygen created keys, and distribute them to all the remote systems you are going to be logging into using password-less logins.


This has hit the users in the company I work for big-time, so lots of users have been scrambling to figure out how to login to development, test, git, customer, etc... systems. Since Ventura was a permitted upgrade in my company, there are several users per day posting on Slack about not being able to ssh into their remote systems (mostly remote Linux systems).

remote server ssh from MacOS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.