Cannot SSH to a VM

southwest.azure 5 Reputation points
2023-03-08T05:37:45.0633333+00:00

Hello,

I just bought a CentOS 8.2 VM and can not connect to it by any ways.

I have tried to connect using XShell and WSL from my laptop, cannot connect.

User's image

I also tried telnet 20.205.12.61:22 on my laptop and got “name or service not known”.

User's image

I have make my workmate connect using his own machine, failed.

I run telnet localhost:22 in the serial console and it‘s OK.

User's image

I have also checked the SSH Server is active, the firewall is inactive.

Please help, thank you : )

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

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.