Below is my version of azure-cli
az --version
azure-cli 2.0.75 *
command-modules-nspkg 2.0.3
core 2.0.75 *
nspkg 3.0.4
telemetry 1.0.4Python location '/usr/local/Cellar/azure-cli/2.0.75/libexec/bin/python'
Extensions directory '/Users/alexchun/.azure/cliextensions'Python (Darwin) 3.7.4 (default, Oct 12 2019, 18:55:28) [Clang 11.0.0 (clang-1100.0.33.8)]
Legal docs and information: aka.ms/AzureCliLegal
I tried to follow this link but there is no vmss found. Then I tried to run az aks nodepool list --resource-group myResourceGroup --cluster-name myAKSCluster
to double check whether I could find vmss information or not (as I enabled vmss when creating AKS) but with it required me to install aks-preview.
When I wanted to install az extension add --name aks-preview
but with below error:
Unable to get extension index.
Please ensure you have network connection. Error detail: HTTPSConnectionPool(host='aka.ms', port=443): Max retries exceeded with url: /azure-cli-extension-index-v1 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'tlsv1 alert internal error')])")))
Thus, I also tried this method to SSH Azure VM directly but failed. (I tried to SSH with manual created Ubuntu VM before successfully)
Supplement: I recreated new AKS with VMSS (enable port 22) but still could not SSH to it:
Faced error:
ssh: connect to host 5x.1xx.1xx.2xx port 22: Operation timed out
There is no External-IP and I SSH with Internal-IP but failed: