Azure has a command that opens a tunnel or an rdp port:
az network bastion tunnel --name vnet-happy-dev-eastus-001-bastion --resource-group rg-us03-dev-happy --target-resource-id /subscriptions/a4181df7-xxxxxxxxxxxxxxxxxxx8f3ca86/resourceGroups/rg-xxxxxx/providers/Microsoft.Compute/virtualMachines/vm-cronserver-dev-eastus-004 --resource-port 22 --port 2222
Under cmd it runs fine, but under git-bash it errors out as follows:
ERROR: Please enter a valid Virtual Machine resource Id.
Another user reported this in https://github.com/Azure/azure-cli/issues/21056 but they tossed it off as a git-bash problem.
Is there any help for this?
Thanks,
Ed Greenberg