sudo apt-get update command for sudo password

Ming Gu 0 Reputation points
2023-10-16T06:14:17.56+00:00

I followed the instructions to do the exercise for creating a virtual machine. when I enterred command "sudo apt-get update", it asked me enter a password. I entered and got this output:

Sorry, try again

I verified the password for the microsoft login. It is correct. I am able to login to my microsoft account. Why I can't login here in the Sandbox? I remember I can login to Sandbox before? Why today I can't?

sudo apt-get update
Azure Azure Training
{count} votes

1 answer

Sort by: Most helpful
  1. RDash 2,495 Reputation points Microsoft External Staff
    2023-10-17T08:05:53.5166667+00:00

    Hi Ming Gu ,

    I understand you have tried the step from Microsoft learn path. Please try to follow the instructions below, which include SSH into the VM you previously created before using sudo.

    Activate a new sandbox and create the VM as instructed in the exercise.

    Once it finishes, make a note of the publicIpAddress that was assigned to the VM.

    When the errors out, follow the steps below to connect to the VM using SSH:

    Replace <VM public ip address> with the actual publicIpAddressUser's image

    When prompted, enter 'yes' to confirm the SSH connection. Copy and right-click to paste the following three commands one by one in the Cloud Shell window. Wait for each command to complete before pasting the next one:
    User's image

    User's image

    User's image

    User's image

    User's image

    If the issue persists, please contact us and we'll be glad to assist you.

    IF the information provided has been helpful to you! then please accept the answer by clicking the Accept Answer on the post. We value your feedback, and it will help to assist others who might have a similar query. Thank you for your contribution in enhancing Microsoft Q&A!

    4 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.