Logging into an Bitnami Apache Solr Server with SSH

Vicki 26 Reputation points
2022-03-15T21:05:49.68+00:00

We have attempted to set up our server to allow us to log in with SSH. Last year on a similar server we were able to do this but the method we used has since been deprecated by Microsoft.

I ran this in to set up what I believe is the extension for the new method after setting up a "Managed System Identity" for the server because I had received an error message saying that it was necessary for the new method:

az vm extension set --publisher Microsoft.Azure.ActiveDirectory --name AADSSHLoginForLinux --resource-group groupName --vm-name Name

Now, we remain unable to log in with SSH or just don't have the correct steps for doing so. Also, at least once when trying to log in after running the above command, I received an error message saying that SSH does not work with "Managed System Identity".

Does anyone know the current steps for enabling logging onto the server using SSH?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
{count} votes

Accepted answer
  1. deherman-MSFT 35,636 Reputation points Microsoft Employee
    2022-03-16T19:04:23.423+00:00

    @Vicki I understand you have enabled Azure AD login for your VM but are unable to access the VM after doing so. Please correct me if I am misunderstanding the issue.

    Make sure that you have configured the role assignments for the VM. Once you have done so you should be able to login to the VM using your AD account.

    az login   
    az ssh vm -n myVM -g AzureADLinuxVM  
    

    If you are still running into issues please check that you have completed all the setup steps and see the troubleshooting section for common issues.

    Hope this helps! Please let us know if you are unable to resolve or need further assistance.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful