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.