Skip to content

Use a BROWSER from the environment for interactive login to support VSCode Remote-SSH development #1714

@spockz

Description

@spockz

Feature description

We are using Visual Studio code on VMs to do our cloud development. Recently we switched from using SSH auth to using OAuth and GCM. This works fine on our local workstations as they have a browser. It doesn't work on gcm because it requires an active Desktop Session (e.g. CanUseEmbeddedWebView|CanUseSystemWebView). az login is able to login using the clients browser because it utilises the script managed by VSCode (and listed in the BROWSER env var) to open a browser and interact with it.

GCM could support a similar mechanism, potentially only on Linux(?), to reach out to Azure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions