question

PaulAugustin-7063 avatar image
0 Votes"
PaulAugustin-7063 asked ajkuma-MSFT answered

Could I explore existing code on an Ubuntu via VS 2019 SSH, same as it can be done with VS Code's Remote Explorer add-on?

On Windows VS Code I am using Remote Explorer add-on to have the git bitbucket cloned code from an Ubuntu dev-machine available via SSH and a bash terminal.

Could this be achieved with VS 2019? I do not need to build as I am doing it directly on the Ubuntu dev machine.

Thanks.

vs-debuggingvs-msbuildvs-extensionsazure-webapps-ssh
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PengGe-MSFT avatar image
0 Votes"
PengGe-MSFT answered

Hi, @PaulAugustin-7063

Welcome to Microsoft Q&A!

I found this related feature : Debug .NET Core on Linux using SSH by attaching to a process, but this may be not meet your requirements.

You can suggest this feature in our Developer Community and if you do suggest this feature, please share the link here, other forum members, include me, who are interested or needed this feature will go to vote for this thread.

Sincerely,
Peng


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ajkuma-MSFT avatar image
0 Votes"
ajkuma-MSFT answered

@PaulAugustin-7063,

Since you have added azure-webapps tag, just want to confirm are you leveraging/deployed an Azure WebApp?

If this is the case, just to highlight on Azure App Service standpoint:

To make open a direct SSH session with your container, you can use this URL (the WebApp must be running)
Paste the following URL into your browser and replace <app-name> with your app name:
https://<app-name>.**scm**.azurewebsites.net/webssh/host

With TCP tunneling technology for Azure App Service, it enables you to have SSH/SFTP access and remote debugging for Linux Web Apps.
Also, you can SSH into an app container using any SSH client of your choice (previously we only had SSH access through a Kudu web client).

Kindly check this doc for more info.
Open an SSH session to a Linux container in Azure App Service

If your requirement is different, please do share more details about our scenario and setup.
I have added additional tags to receive insights from the targetted audience/SMEs.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.