Help Needed: Can’t Connect to My Azure Virtual Machine via SSH

0
12
Asked By TechieNinja42 On

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

Answered By CloudExplorer99 On

Have you checked if SSH is allowed in your VM's firewall or the network security group (NSG)? That could be blocking the connection.

Answered By VirtualVoyager81 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.