

If everything is okay with you Mac SSH configuration, a command prompt will ask you for credentials (enter the same credentials that you enter on Visual Studio when trying to connect), and see if you get authenticated and with access to the Mac via SSH Just open Putty and do this:ġ - Once Putty is opened, go to the left panel of the window and click on Session categoryĢ - Now, on the Host Name (or IP address) checkbox, put exactly the same host name or IP that you can see in the Server Selector dialog in VS when you try to connect to the Mac (you can try two times, one with the IP address and on with the host name)ģ - Ensure that the Connection type radio button is with SSH option selectedĤ - Let the Port value in 22 (default SSH port) So, if you have Putty installed, it's pretty simple to connect via SSH to your Mac. Unfortunately, we need to try to connect with an SSH client outside VS to determine if the problem is on your Mac SSH configuration or if there is something else on VS and Xamarin side that could be affecting the connection.
COMPLETELY UNINSTALL XAMARIN MAC WINDOWS
The first connection that it performs is via SSH, to establish a secure tunnel to send and receive information, and that's the step on which you are getting stuck.įor that reason, you don't need to force re-initialization of the connection, because you are not being able to even establish the first SSH handshake between Windows and Mac. VS is just a client of the Xamarin Mac Agent, so it tries to connect to the Mac and start everything that it needs to work.

You can check the Connection Troubleshooting guide for more information: īased on what you say, what is happening is that the Bonjour Service is working fine (that's why you see the reflected Mac name changes in the Server Selector dialog), but something is not right with the SSH configuration on your Mac. If you can't connect, then you are missing something on the Mac. To start it, you need to enable "Remote Login" under System Preferences > Sharing.įinally, as an extra check you can try connecting via SSH to the Mac with Putty from Windows. Please get the log that correspond to the VS instance that you are using on the repro.Īdditionally, you can verify if the Mac has the SSH daemon started. You can get it from here: %LOCALAPPDATA%\Xamarin\Logs\\Ide.log. To verify that, It would be good if you can attach the VS log.

Related to the "Login" button disabled, it could be that the Mac is nor retrieving it's SSH fingerprint. That said, if you can connect once, then the machine will be saved and the next time you see the dialog, you will be able to "Forget" it. Also, the reason why you are seeing the machine is because the Bonjour Service has discovered it in the network. By "known" host I mean a machine where you connected at least once. The reason why the "Forget" button could be disabled is that the machine that you are trying to connect is not a "known" host.
