Describe the bug
Creating an AKS cluster with
az aks create ... --generate-ssh-keys
will silenty overwrite an existing key in .ssh/id_rsa. Just nuked mine and I lost ssh access to my remote hosts.
To Reproduce
az aks create ... --generate-ssh-keys
Expected behavior
Raise an error message if key file already exists
Environment summary
OSX howebrew
Describe the bug
Creating an AKS cluster with
will silenty overwrite an existing key in
.ssh/id_rsa. Just nuked mine and I lost ssh access to my remote hosts.To Reproduce
Expected behavior
Raise an error message if key file already exists
Environment summary
OSX howebrew