Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSH timeout for Azure Linux VM

Tags:

linux

ssh

azure

After resizing my VM I am unable to SSH to my Linux Azure VM(Ubuntu 14.10).

I have already tried -

Resizing the VM

Resetting the password using new azure portal

Basically all the steps that are mentioned here :

https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-troubleshoot-ssh-connections/

Still I am getting "ssh: connect to host bookmarks.cloudapp.net port 22: Connection timed out"

like image 560
tech spartans Avatar asked Sep 26 '22 09:09

tech spartans


1 Answers

This is an old question, but we often come across this and want to add some solutions.

  1. Check if Port 22 is Enabled/Allow on "default-allow-ssh" under "Inbound Port Rules". (Path: Dashboard > Select your VM > Networking (under Settings section)

    enter image description here

  2. Logout of the Azure portal, clear browser cache and re-login

like image 151
Suren Konathala Avatar answered Dec 09 '22 03:12

Suren Konathala