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?

Paul Augustin 1 Reputation point
2021-09-28T08:47:30.673+00:00

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.

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
938 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,929 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,855 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. PengGe-MSFT 3,331 Reputation points
    2021-09-29T06:11:43.82+00:00

    Hi, @Paul Augustin

    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

    0 comments No comments

  2. ajkuma 22,241 Reputation points Microsoft Employee
    2021-09-29T06:47:20.75+00:00

    @Paul Augustin ,

    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.

    0 comments No comments