Skip to content

az ssh prints warning to upgrade to >=2.0.4 but 2.0.9 already installed #33539

@phillies

Description

@phillies

Describe the bug

I freshly installed az cli with ssh on a Mac 26.5.1 but every time I run az ssh arc/config I get

[08:58:45]❯ az ssh config --subscription xxxx--resource-group xxxx --name xxxx --local-user xxxx -f xxx --keys-dest-folder xxxx
On May 21st 2025, any ssh commands connecting to ARC machines on versions <2.0.4 will no longer work. Please upgrade to az ssh version >=2.0.4
Generated relay information xxxx is valid until 2026-06-12 09:54:37 AM in local time.
xxxx contains sensitive information. Please delete it once you no longer need this config file.

Latest version is installed:

[08:58:36]❯ az extension update --name ssh
Latest version of 'ssh' is already installed.

Use --debug for more information

Related command

az ssh arc / config

Errors

On May 21st 2025, any ssh commands connecting to ARC machines on versions <2.0.4 will no longer work. Please upgrade to az ssh version >=2.0.4

Issue script & Debug output

az ssh arc --subscription xxxxx --resource-group xxxx --name xxxx --local-user xxxx

Expected behavior

No warning

Environment Summary

azure-cli                         2.87.0

core                              2.87.0
telemetry                          1.1.0

Extensions:
ssh                                2.0.9

Dependencies:
msal                              1.36.0
azure-mgmt-resource               24.0.0

Python location '/opt/homebrew/Cellar/azure-cli/2.87.0/libexec/bin/python'
Config directory '/Users/xxxx/.azure'
Extensions directory '/Users/xxxxx/.azure/cliextensions'

Python (Darwin) 3.13.13 (main, Apr  7 2026, 18:19:01) [Clang 21.0.0 (clang-2100.0.123.102)]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botSSHService AttentionThis issue is responsible by Azure service team.VM SSHact-observability-squadbugThis 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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions