macos – SSH key authentication error while pairing Mac agent on VirtualBox with Visual Studio for iOS development

I’m trying to pair my Mac agent (macOS 12.6.3) running as a VirtualBox guest machine with Visual Studio on my PC for iOS development, but I keep getting the following error:

An error occurred while trying to configure the SSH keys for authentication with 'f3a0::4451:a367:51e9:8bf0%10'

I have searched for a solution and found only one fix, but it doesn’t apply to my situation since my VirtualBox host OS is on a different computer. The fix can be found here: Pairing Xamarin with Mac running on WSL2

Before updating to the latest Visual Studio version (17.4), I was getting a different error:

An error occurred while trying to establish an SSH connection with SSH keys to (IPv4)

This error has now been solved, but the previous error persists and is preventing me from developing for iOS.

Can anyone help me with a solution to this error? Thank you in advance.

Please find the Xamarin log here:

VS info:

Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.5.2

Read more here: Source link