Azure / Azure/azure-cli

Azure cli 2.45 unable to ssh bastion

Open
#25,404 6 comments 2 reactions 1 assignee Assigned to @aavalang View on GitHub
act-quality-productivity-squad Auto-Assign bug customer-reported Network Network - Bastion Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Related command**
az network bastion ssh --name --resource-group rg-xmlint-hub-dev-uks --target-resource-id '/subscriptions//resourceGroups//providers/Microsoft.Compute/virtualMachines/' --auth-type AAD

**Describe the bug**
After upgrade from 2.33 on windows to 2.41 and above the following error missing required positional argument 'target_ip_addresss'

**To Reproduce**
Download azure cli on windows 2.41 and above and run the cmd from powershell

**Expected behavior**
Should be able to login

**Environment summary**
Windows 10

**Additional context**
This runs fine on ubuntu WLS2 for 2.41 and above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.