then
Edit the ssh_config file to add port 22 as follows:
Copy ssh config file to desktop using following command in Macintosh terminal:
cp /etc/ssh/ssh_config "$HOME/Desktop/"
Edit the config file, add text at end of file
Port 22
Save the ssh_config file.
Copy the file back to original directory:
Copy the file back to original directory:
sudo cp "$HOME/Desktop/ssh_config" /etc/ssh/ssh_config
Restart the Mac,
now you will be able to pair visual studio with Macintosh PC for building xamarin ios application.
workaround 2
open vs code and open user folder in it, go to .ssh dir
1- Copy the content of file C:\Users\xx\AppData\Local\Xamarin\MonoTouch\id_rsa.pub
2- Paste it into mac ~/.ssh/authorized_keys in a New Line