Home > Mobile >  Connection failed from Visual Studio 2022 (MAUI, Xamarin) to macOS
Connection failed from Visual Studio 2022 (MAUI, Xamarin) to macOS

Time:11-10

I updated macos to version 13 Ventura. I'm developing apps using Xamarin/MAUI on Visual Studio on Windows. Access to macOS over the network is no longer possible. Error message: Unable to connect to SSH using the SSH keys. I have enabled remote access to macOS.

CodePudding user response:

Please ne noted that macOS 13 (Ventura) ships with OpenSSH_9.0p1.

You can try to edit /etc/ssh/sshd_config and save it.

HostkeyAlgorithms  ssh-rsa
PubkeyAcceptedAlgorithms  ssh-rsa

And then restart the Mac and Visual Studio.

CodePudding user response:

This was an bug on Visual Studio 17.3.4 (see https://developercommunity.visualstudio.com/t/macOS-Ventura-130-Beta---Impossible-to/10163760?q=[Fixed In: Visual Studio 2022 version 17.4]) that is fixed on 17.4.0, so update to Visual Studio 17.4.0 and the error is gone.

  • Related