Forum Discussion

Fjorgego's avatar
Fjorgego
Copper Contributor
Jun 26, 2023

Re: Adding Extension AADSSHLogin over AZ CLI

Hey!
Can you please try like this:
az k8s-extension create --name aadsshlogin --cluster-type connectedClusters --cluster-name ubuntu2204 --resource-group testgroup2 --extension-type 'Microsoft.Azure.AppServices.appservices-arc-ssh-login' --auto-upgrade-minor-version --scope namespace --release-train stable --configuration-settings "ClientMode=ClientCertificate"

Hope it helps 🙂

3 Replies

  • KoenigConstantin's avatar
    KoenigConstantin
    Copper Contributor

    Heyy

    Now there's an other error message 😄

    The Resource 'Microsoft.Kubernetes/connectedClusters/ubuntu2204' under resource group 'testgroup2' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    I double checked the machine name and the resource group, but somehow it doesn't find my server 😞

    Kind regards

    • Fjorgego's avatar
      Fjorgego
      Copper Contributor
      Hey!
      I'm out of ideas of what it could be...did you double check if the machine is created under the resource group testgroup2?

      Best Regards,
      • KoenigConstantin's avatar
        KoenigConstantin
        Copper Contributor

        Heyy,

        Yea I did look up both names. I'm a bit confused why its trying to search for the maschine under following link:

        Microsoft.Kubernetes/connectedClusters/ubuntu2204

        Because it isnt related to any Kubernetes.

         

        Is this command really right for my linux on premise server?

         

        Kind regards

         

Resources