2

We have created a AKS cluster using az aks create .... --generate-ssh-keys ..... How/where can we find the SSH keys that were generated, so we can use them? Thankx

JoaoCC
  • 295
  • 1
  • 3
  • 8

1 Answers1

4

You can find the SSH keys from the output of this command az aks create .... --generate-ssh-keys.

After you run this command, you can find your ssh key in that output.

enter image description here

You can find it in this path:

enter image description here


If you are use Linux, you can find it here:

enter image description here

so we can use them?

You can use that SSH key to login AKS agent:

ssh azureuser@52.170.1.* -i ~/.ssh/id_rsa

Jason Ye
  • 2,399
  • 1
  • 8
  • 10