English 中文(简体)
Cannot pair with mac running Ventura
原标题:

We have a Windows Server 2016 machine that we use to build our Xamarin projects. We recently upgraded our macOS to Ventura and since have not been able to pair Visual Studio to the mac. I have followed the troubleshooting steps from Microsoft to no avail.

What doesn t work

We experience different types of failure depending on version of Visual Studio that we attempt to use.

VS 2022 17.6.3

Pairing fails before asking for credentials for the mac with the error:

Couldn t resolve mac ipAddress

There is no obvious problem identified in the logs.

VS 2022 17.2 LTC

Pairing fails after credentials for the mac have been entered with the error:

An error occurred while trying to establish an SSH connection with SSH keys to ipAddress:portNumber

The logs indicate that VS is attempting to use rsa to connect to the mac which is not supported on macOS Ventura:

Executing SSH command ssh-keygen -b 2048 -t rsa -m PEM -f "/Users/<user>/Library/Caches/Xamarin/XMA/Keys/<guid1>" -q -N "<guid2>" ...

I have run through the solutions offered in this other stackoverflow question but have not been able to resolve the issue.

I would rather not enable rsa on our Mac but it doesn t work anyway. I can manually install the latest version of OpenSSH however there is no change. I cannot remove OpenSSH from the Windows Server 2016 OS as it is not listed in the Optional Features .

What does work

Other machines

I have confirmed on multiple other machines running Windows 10 and Windows 11 with various installations of Visual Studio including 17.6.3 that the Mac can be paired with it s current configuration.

These working instances are using ecdsa according to the logs:

Executing SSH command: ssh-keygen -t ecdsa -b 521 -m PEM -f "/Users/<user>/Library/Caches/Xamarin/XMA/Keys/<guid1>" -N "<guid2>" -q

SSH

I am able to ssh into the Mac from the Windows Server 2016 machine that cannot pair.

Question

Does anyone know:

  1. how to resolve this issue; or

  2. how to ensure that VS uses the ecdsa cryptographic algorithm when pairing with a mac?

Thanks in advance.

问题回答

暂无回答




相关问题
Write to a File in Monotouch

How would I create and write to a file in a Monotouch iPhone app? The file should persist between application launches, so I guess it has to be placed somewhere in the App bundle ( documents or ...

MonoTouch debugger never connects to app

I have an issue where the MonoDevelop debugger refuses to connect to the simulator. MonoDevelop pops a box saying "Waiting for debugger to connect on 127.0.0.1:10000..." but never connects. I have ...

montouch detect when sound finished playing

In objective C is a method called AudioServicesAddSystemSoundCompletion which allows to add a handler for "audio done notification". So I add the handler call AudioServicesPlaySystemSound and when the ...

Web Services Build Error in Monotouch

My project and web services work fine in the simulator but crash when uploading to an iPhone. It had been working fine before I updated Monotouch from 1.1. Can I revert back to earlier versions of ...

Playing a Sound With Monotouch

No matter what I try (build -> content, NSUrl, filename) I get a null exception : file not found when I try to play a .caf sound file in monotouch. //var path = NSBundle.MainBundle.PathForResource("...

Is MonoDevelop s editor slow for you?

I m using the evaluation version of MonoTouch and MonoDevelop to check out writing iPhone app in C#. However, MonoDevelop s editor is very slow for me. I mean really really slow. I have to type and ...

C# Class Definition

In XCode and objective c, if I want to use a UIGlassButton in interface builder, I put the following line in my header file: @class UIGlassButton; I am now using monotouch c#. Is there a similar ...

热门标签