Into /Users/macmini2/.ssh/authorized_keys file (Mac machine) each time that I use the Xamarin Mac Agent, Visual Studio adds a new key entry (it adds the same repeated). I have used Putty (SSH Client) to check with my user/password if I'm able to connect to Mac, and I have had success. In this point, the output retrieves a message:ġ> Connecting to Mac server Macs-Mac-mini.local.ġ>C:\Program Files (x86)\MSBuild\Xamarin\iOS\.targets(54,5): warning : Could not authenticate the user using the existing ssh keysġ>C:\Program Files (x86)\MSBuild\Xamarin\iOS\.targets(54,5): error : Unable to connect to Address='Macs-Mac-mini.local' with User='macmini
I clean the solution, I build again and start the compile/debug process (F5). Then, in the solution, I set the iOS project as the startup project. Then it asks me the Mac credentials (user and password). On Visual Studio I open the Xamarin Mac Agent. In the two machines I have the same Xamarin version. I have logged in with my Xamarin account. In my Mac Mini, I have installed OS X (v10.11.3), XCode (v7.2) and Xamarin Studio. I have a PC (Windows 8.1) with Visual Studio Community 2015 with Xamarin tools installed. I have a problem with the connection between my PC and the Mac. I have compiled and debugged my application by Android, but now, I'm interested to run the application in iOS to test in this platform.
#Cant ssh on mac portable#
I'm developing an Xamarin Forms application with a Portable Class Libraries (PCL). I'm continuing my adventure with Xamarin.