"az ssh vm --ip x.x.x.x" works but "az ssh vm/arc --resource-name --vm-name" does not. - Arm64 not supported.

Benjamin Camp 5 Reputation points
2023-10-19T11:09:39.39+00:00

I have added two Ubuntu VM's to Azure Arc and can reach them locally when connected to the same network via "az ssh vm --ip x.x.x.x". The authentication process works and I can use the VM.

When I try to connect remotely or locally with either
"az ssh arc --resource-name xxx --vm-name yyy"
"az ssh vm --resource-name xxx --vm-name yyy"

I get the error
"Unsuported architecture: arm64 is not currently supported"

I am trying to connect from a Macbook Pro with Apple Silicon (M1 Pro) using the Azure-CLI installed through Homebrew.

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
338 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,241 Reputation points Microsoft Employee
    2023-10-27T02:46:25.9866667+00:00

    Hi @Benjamin Camp

    There are a couple of things to point out. Firstly, Arm64 isn't supported on Azure Arc agent. So if your Ubuntu VM is arm64, that could one explanation. Another callout is the extension itself doesn't support SSH proxy on an arm64 client machine. The reason it works locally is because on the same network, you're not going through a proxy.

    The best thing to do is use the --verbose command to see which area of the extension is sourcing the error.


    EDIT 31 October 2023

    After further investigation, this may be a regression bug. It's actively being tracked here: az ssh: unable to connect from client with ARM processor · Issue #6925 · Azure/azure-cli-extensions (github.com)