Unable to SSH to a Windows VM

Ananya Sarkar 311 Reputation points
2020-09-11T16:26:11.683+00:00

I have deployed a Windows VM (AnanyaVM) under resource group "cerberusucmpoc" and have added the ssh inbound rule to it, but when I am trying to access the public ip through putty (port 22) its showing connection timeout. What is wrong in this setup?

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

Accepted answer
  1. whoward-msft 2,766 Reputation points
    2020-09-12T00:18:39.973+00:00

    Hi @Ananya Sarkar ,

    Thanks for the question. In order to SSH into a Windows VM you would need an SSH Server installed on the VM such as Open SSH which is available on Windows Server 2019. Are you running Windows Server 2019 and do you have the Open SSH Server installed on the VM? Follow this doc here to ensure you have the SSH Server setup on your Windows Machine.

    On another note most users use the RDP Protocol when attempting to remote into Windows based machines, have you tried using the RDP protocol? The SSH Protocol is usually used when attempting to remote into Unix-like operating systems. RDP tends to work better when trying to connect to Windows VMs. Let me know! Thanks.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

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.