I'm trying to ssh connect to my VM on Azure from my home pc. However, I get a connection timed out on port 22. Weird because last 2 days I connected via ssh it was fine. I check my inbound rules for SSH all are fine, refer picture below for my inbound rules. I check that my VM is currently running based on the Azure dashboard overview. There are a list of methods I tried in order to solve this issue however I haven't try to reset credentials and redeploy VM as I am waiting for others' suggested solution before I try it. Any idea why this happens? I appreciate anyone that could help.
There are a few methods that I tried to solve this problem.
Probably, the outbound public IP from your home pc is changed then you could whiltelist the new public IP in inbound rule for port 22 in the NSG. Check what is my IP address.