0

I have a virtual machine hosted in azure. I want to run this machine locally to make some tests so I downloaded the VHD image and created a VM in Hyper-V

enter image description here

The problem is that I cannot log in to this machine, even though I am using the same login I use to log in via rsh when it runs in azure:

enter image description here

1

I download VHD from Azure VM(ubuntu 16.04.2 LTS), and run it on Hyper-v, I can use my original account to login it:

enter image description here

Could you please tell me which account are you use to login? By default, we can't use root to login it.
By the way, several mouths ago, I can't use original account to login this VM on Hyper-v. If your VM create in that time, we should use OS file to to reset the password, or we create a new Ubuntu and download it again.

  • Hi @Jason Ye. I didn't login to "root", but to the user I set up when I initialized the virtual machine (the one that appears when you click in the "Connect" button in the portal. I tried with a different account and the result is the same: I can log in to the online VM but I cannot login to the image I downloaded. – Yván Ecarri Jul 31 '17 at 15:46
  • Actually, I could log in to another account, unfortunately it's one with very limited privileges. I'll grant sufficient permissions to it in the online VM and i'll download a new image (which is quite annoying, it's 30GB and Microsoft Azure makes cash every time I need to do this type of things) – Yván Ecarri Jul 31 '17 at 16:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.