Connectivity to VM Issues

Todd Hearn 1 Reputation point
2021-01-15T14:50:47.91+00:00

When i try to ssh into my VM, I keep getting an error that says Port22: Connection timed out. I ran diagnostics with help from azure and was unable to fix issue.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,981 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 13,901 Reputation points MVP
    2021-01-15T15:47:17.877+00:00

    @Todd Hearn

    In NSG port 22 is allowed?

    SSH troubleshooting

    After each troubleshooting step, try reconnecting to the VM.

    Reset the SSH configuration.
    Reset the credentials for the user.
    Verify the network security group rules permit SSH traffic.
    Ensure that a Network Security Group rule exists to permit SSH traffic (by default, TCP port 22).
    You cannot use port redirection / mapping without using an Azure load balancer.

    ----------

    Please don’t forget to Accept the answer and up-vote wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments