Skip to content

Single Click SSH in Azure Cloud Shell #22063

Closed

Description

Requirement

Using Azure Cloud Shell account to SSH into an Azure VM is currently not supported:

raise AuthenticationError("VM SSH currently doesn't support managed identity or Cloud Shell.")

We are working with MSAL and VM team to implement Single Click SSH in Azure Cloud Shell.

Workaround

As pointed out by #22057 (comment), a workaround is to run az login in Cloud Shell to replace the default Cloud Shell account with a user/service principal account. Then az ssh vm will work as expected.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions