Azure / Azure/azure-cli-extensions
Warning for --ssh-access disabled should only show when --generate-ssh-keys is not explicitly configured.
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.