Repository navigation
"az ssh config" Fails with a SP #10083
Copy link
Copy link
Closed
Labels
AccountAuto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This 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.This 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.Issues that are reported by GitHub users external to the Azure organization.
Description
Activity
- addedbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
on Jul 7, 2026 - addedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.Auto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI team
on Jul 7, 2026 - removedAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
on Jul 7, 2026 ssh
Solved : turns out the extension AADSSHLoginForLinux just doesn't work. I tried AADSSHLogin instead and it works fine.
Metadata
Metadata
Assignees
Labels
AccountAuto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This 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.This 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.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
I'm unable to use the generated ssh config from "az ssh config" to SCP to a Linux VM using a SP. Is it supposed to be working ?
The VM has the AADSSHLoginForLinux extension enabled.
The SP has Virtual Machine User Login on the VM and using
az ssh vmI'm able to open a ssh connection.Related command
SSHD logs:
Note that using the following works:
Errors
No error
Issue script & Debug output
No stack trace
Expected behavior
The scp command should work
Environment Summary
az --version
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
Additional context
No response