Azure Bastion SSH and Tunnel fails with "nodename nor servname provided, or not known" #6707
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Network - Bastion
Network
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
When I try to establish an SSH session via Bastion on macOS the command fails. The same behavior also occurs when executing
az network bastion tunnel
.When running the command from inside a Docker container on the same machine with the same credentials, it works. When running
sudo lsof -i -P
, I can't find any obvious port conflicts. The behavior is reproducible after a reboot.Related command
az network bastion ssh --name {} --resource-group {} --target-resource-id {} --username {} --auth-type {}
Errors
Issue script & Debug output
Expected behavior
SSH connection is established.
Environment Summary
Additional context
No response
The text was updated successfully, but these errors were encountered: