Skip to content

Update documentation to indicate that az ssh does not support the PowerShell ISE.  #28129

Open

Description

Describe the bug

Attempting to use az ssh with Extra-AD login does not work in the PowerShell ISE. When attempted, the SSH session connection attempt stalls and never connects.

This does not appear to be documented anywhere, and should be added to the az ssh help page at https://learn.microsoft.com/en-us/cli/azure/ssh?view=azure-cli-latest

Related command

Issue can be replicated by using

az ssh vm -n VMNAME -g RGNAME --debug

From PowerShell ISE. The session will stall out, and never connect. The same behavior happens with

az ssh vm -n VMNAME -g RGNAME

But due to the lack of verbose debug info, no status is ever displayed. Just stalls and stays there forever, hanging up the PowerShell ISE tab.

Errors

No error provided. Just hangs.

Issue script & Debug output

N/A

Expected behavior

az ssh connects

Environment Summary

azure-cli 2.55.0

core 2.55.0
telemetry 1.1.0

Extensions:
ssh 2.0.2

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\ouacdiskan.azure\cliextensions'

Python (Windows) 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:21:31) [MSC v.1936 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

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

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botSSHService AttentionThis issue is responsible by Azure service team.VM SSHbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions