Skip to content

Single Click SSH in Azure Cloud Shell #22063

@jiasli

Description

@jiasli

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions