VM machine unable to access via SSH

jishnug 1 Reputation point
2021-11-17T15:11:40.307+00:00

I couldn't access virtual machine.

I have tried many methods in hope of reviving the machine. Nothing worked so far.
The test connection seems success with azure portal, but unable to SSH to machine from my local system.

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

1 answer

Sort by: Most helpful
  1. Ronen Ariely 15,196 Reputation points
    2021-11-17T16:12:23.427+00:00

    Good day

    The test connection seems success with azure portal, but unable to SSH to machine from my local system.

    It is not very detailed information, but my first guess based on this information is that you simply did not open the firewall to SSH to your IP

    (1) Please go to the virtual machine configuration in the portal

    https://portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.Compute%2FVirtualMachines

    (2) Select the Virtual machine with the problem

    (3) On the left menu select: Networking

    150302-image.png

    (4) Confirm that the right inbound port rule is open and your IP is configure in the rule, or add new rule if needed, using the button:

    150286-image.png

    If this does not solve your case, then please provide more information and screenshot of your VM configurations

    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.