Hello ,
In This Scenario we will cover some ssh scenarios .
- Check if the VM is in Running State on the Portal.
- Is there another Port exposed Externally ? is it available ?.(we are trying to isolate if there is a general network issue or just ssh is not responding)
- If yes , Try to SSH the VM using it’s DIP (Lan IP) from another running VM in the Same VNET. is this working
- No , then please go to the Azure Portal and try to reset the SSH . Navigate to the VM blade and scroll down until you find the Reset Password.
- Enable boot diagnostics (will generate serial log) and reboot the VM (look under or download to search for error)
- First setup for boot diagnostics required a storage account configuration .
If you see an issue with ssh configuration continue to the steps below.
- For RDFE\Azure VM Version 1 blade will appear like below.
- Option 1 : reset current user password or create a new login (will be granted permission to a shell and login)
- Option 2 : reset ssh keys in case you have lost your Privet key or it compromised
For our scenario we will go with Option 1 and reset the user password.
- For ARM \Azure VM Version 2 blade will appear like the image below : Arm Provide us 3 options.
- Option 1 : reset current user password or create a new login (will be granted permission to a shell and login).
- Option 2 : reset ssh keys in case you have lost your Privet key or it compromised.
- Option 3 : reset sshd_config (will copy a fresh config)
In this Scenario we will Try Option 3.
if still you weren’t able to reach the VM we can work on the serial console or we can use a Nested VM to debug it .
Create a Recovery VM in the same region that support virtualization (windows 2016 Data-center )Install the Hyper-V role and Mount the OS VHD( VM) to a hyper-v and investigate using Hyper-V console.
Troubleshoot a Broken Azure VM using Nested Virtualization in Azure (RDFE)
Troubleshoot a Broken Azure VM using Nested Virtualization in Azure (ARM)
Troubleshoot a Broken Azure VM using Nested Virtualization in Azure (Managed Disk)
If you get stuck during the Process feel free raise a ticket to MS Support and an engineer will help you to Mitigate the issue.
Thank You,
Tzachi Elkabatz
It is appropriate time to make some plans for the long run and it’s time to be happy.
I have learn this post and if I may just I desire to counsel
you some fascinating things or suggestions. Perhaps you can write subsequent
articles regarding this article. I desire to learn even more things about
it! I love what you guys are up too. This kind of clever work and reporting!
Keep up the wonderful works guys I’ve incorporated you guys to my blogroll.
I have been browsing online more than 3 hours as of late, but I by no means
found any attention-grabbing article like yours.
It is lovely worth enough for me. In my opinion, if all website owners and bloggers made good content material as you did, the internet will likely be much more useful
than ever before. http://cspan.org
Aw, this was a really nice post. Finding the time and actual
effort to produce a good article? but what can I say?
I hesitate a whole lot and don’t manage to get anything done. https://naturescbdorganics.net/
Hello! I’m at work browsing your blog from my new iphone 3gs!
Just wanted to say I love reading your blog and look forward to all your posts!
Carry on the superb work!
Hello every one, here every person is sharing these know-how, so it’s nice to read
this weblog, and I used to pay a visit this webpage every day.