You may encounter an error "An error occurred wile executing an SSH command. Error code:134" when you attempt to connect your Visual Studio 2019/2022 to a remote MacinCloud Mac server. Here is a sample screenshot:


  • You have not logged in to your remote Mac account through GUI interface.
  • You need the SSH addon enabled to allow Visual Studio remote build features.


1. For managed server accounts, please ensure that your account has SSH addon. For dedicated server accounts, make sure SSH is enabled through System Preferences > Sharing > Check "Remote Login," and select your account to enable SSH for the account.

2. Log in to your remote Mac user account and observe the Mac desktop appears.

3. Try "Pair to Mac" again from your Visual Studio for Windows.