azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

Warning for --ssh-access disabled should only show when --generate-ssh-keys is not explicitly configured.

Open tdihp opened this issue 1 month ago • 1 comments

Describe the bug

As titled. Customers opting to use ssh key should not be warned with this.

Related command

az aks create --generate-ssh-keys

Errors

n/a

Issue script & Debug output

n/a

Expected behavior

now showing the line

The new node pool will enable SSH access, recommended to use '--ssh-access disabled' option to disable SSH access for the node pool to make it more secure.

Environment Summary

azure-cli 2.78.0 *

core 2.78.0 * telemetry 1.1.0

Extensions: aks-preview 19.0.0b16 azure-iot-ops 0.4.0b3 k8s-configuration 2.0.0 k8s-extension 1.6.1 resource-graph 2.1.0

Dependencies: msal 1.34.0b1 azure-mgmt-resource 23.3.0

Python location '/opt/az/bin/python3' Config directory '/home/ubuntu/.azure' Extensions directory '/home/ubuntu/.azure/cliextensions'

Python (Linux) 3.13.7 (main, Oct 9 2025, 05:49:51) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal

You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'

Additional context

No response

tdihp avatar Nov 13 '25 03:11 tdihp

Thank you for opening this issue, we will look into it.

yonzhan avatar Nov 13 '25 03:11 yonzhan