Share via

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.


1 answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 18,336 Reputation points MVP Volunteer Moderator
    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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.