I'm new to this and trying to run a virtual machine on Azure. I just started my internship, and today I got access to Azure for the first time. I was instructed to connect to the VM using PuTTY. I've generated both the public and private keys and added the public key to the SSH keys. However, I'm still facing a 'connection timed out' error when I try to run the command 'ssh -i vm@port'. I consulted an AI for help, and it suggested that the only fix left might be to create a new VM. I'm feeling a bit lost and would really appreciate any guidance you can provide!
2 Answers
Have you checked if SSH is allowed in your VM's firewall or the network security group (NSG)? That could be blocking the connection.
I understand your frustration! Sometimes those settings can be tricky. Just make sure that the NSG specifically allows SSH traffic (usually on port 22), and if you can't access the firewall settings, maybe ask your admin to help you out!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures