I am attempting to remotely debug a .NetCore application in Ubuntu Linux from Visual Studio 2019 in Windows 10. I can see the remote ipaddress (ping thru command line). I can RDT to the ipaddress. I can successfully transfer files to it via WinSCP.
I created a simple .NetCore "HelloWorld" app and copied onto the Linux VM. I used the following commands to build and publish:
dotnet build -r linux-x64
dotnet publish --self-contained -r linux-x64
I ran the following command on the Linux VM to ensure that ssh is functional:
sudo apt-get install openssh-server unzip curl
The app is running on Linux. From VS I try to attach to the process:
I get prompted for logon:
I get the following error:
Is there a step I'm missing somewhere? Is there a configuration/permissions issue I am unaware of?
Thanks, JohnB



I had the same problem initially because I didn't enter the connection target in the first screen. After having entered the correct target [email protected] in the first screen the second screen did not show up any longer and I got the expected list of processes