VM - After Restarting, Cannot Change Password or Connect with SSH

Kuroudy 1 Reputation point
2019-12-15T00:43:45.677+00:00

Hey everyone,

I recently filled up the OS disk on my VM and wanted to expand the disk. After expanding the disk and connecting with SSH I reallocated the partitions. Then I restarted my VM and now I can no longer connect to the VM using SSH. When I try to change the password I get "The VM agent is either unavailable, or not installed, which may prevent VMAccess from running". I have rebooted the VM multiple times and have tried redeploying but I still cannot connect with SSH and I cannot change the password.

I would appreciate some help connecting again!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,036 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Cogan 10,752 Reputation points MVP
    2019-12-15T12:50:13.9+00:00

    Have you tried accessing the VM using the serial console - https://zcusa.951200.xyz/en-us/azure/virtual-machines/troubleshooting/serial-console-linux

    1 person found this answer helpful.

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.