Can't SSH to Azure VM


Samas Agarwal

I have an Ubuntu VM (resource group, not Classic VM) on Azure and it's all available. I recently tried to SSH into a VM using Putty, but I couldn't.

I get the error: Network Error: Connection Timed out.

I've made sure port 22 is open for SSH in the VM inbound rules.

Allow SSH port 22

I installed this VM for a side project about 2 months ago and at that time I was able to SSH easily without any hassle. Now I can't. Am I missing something?

PS: HTTP works fine. My website is working and it shows up in the browser. Also, I tried using a browser based SSH client and it was able to SSH into the VM.

username

Looks like a problem with the local firewall. Try resetting the SSH configuration in the portal.

  1. Go to Azure Portal
  2. Select the problematic virtual machine
  3. Choose reset password
  4. Choose to reset configuration only
  5. select update

Screenshots of this process!

Related


Can't SSH to Azure VM

Samas Agarwal I have an Ubuntu VM (resource group, not Classic VM) on Azure and it's all available. I recently tried to SSH into a VM using Putty, but I couldn't. I get the error: Network Error: Connection Timed out. I've made sure port 22 is open for SSH in t

Can't SSH to Azure VM

Samas Agarwal I have an Ubuntu VM (resource group, not Classic VM) on Azure and it's all available. I recently tried to SSH into a VM using Putty, but I couldn't. I get the error: Network Error: Connection Timed out. I've made sure port 22 is open for SSH in t

Can't SSH to Azure VM

Samas Agarwal I have an Ubuntu VM (resource group, not Classic VM) on Azure and it's all available. I recently tried to SSH into a VM using Putty, but I couldn't. I get the error: Network Error: Connection Timed out. I've made sure port 22 is open for SSH in t

Can't SSH to Azure VM

Samas Agarwal I have an Ubuntu VM (resource group, not Classic VM) on Azure and it's all available. I recently tried to SSH into a VM using Putty, but I couldn't. I get the error: Network Error: Connection Timed out. I've made sure port 22 is open for SSH in t

Can't SSH into Azure Windows Server VM

Angelson I created a new virtual machine in Azure. (Windows Server 2016 Datacenter Server Core) The VM creation process enabled me to enable SSH access (and it did): Image of VM Creation Wizard However, I found myself unable to establish an SSH connection to W

Can't SSH into Azure Windows Server VM

Angelson I created a new virtual machine in Azure. (Windows Server 2016 Datacenter Server Core) The VM creation process enabled me to enable SSH access (and it did): Image of VM Creation Wizard However, I found myself unable to establish an SSH connection to W

Can't SSH into Azure Windows Server VM

Angelson I created a new virtual machine in Azure. (Windows Server 2016 Datacenter Server Core) The VM creation process enabled me to enable SSH access (and it did): Image of VM Creation Wizard However, I found myself unable to establish an SSH connection to W

Can't SSH into Azure Windows Server VM

Angelson I created a new virtual machine in Azure. (Windows Server 2016 Datacenter Server Core) The VM creation process enabled me to enable SSH access (and it did): Image of VM Creation Wizard However, I found myself unable to establish an SSH connection to W

Can't SSH to VM

Ken I have a VM installed and some custom disk images (CentOS) at work, but I can't SSH into the VM. Here are some things I've tried: [VM]$ ssh root@localhost Password: Great, ssh is using loopback. But when I try from host: ~/VirtualBox VMs% ssh -v -v -v roo

Can't SSH to VM

Ken I have a VM installed and some custom disk images (CentOS) at work, but I can't SSH into the VM. Here are some things I've tried: [VM]$ ssh root@localhost Password: Great, ssh is using loopback. But when I try from host: ~/VirtualBox VMs% ssh -v -v -v roo

Can't ping to Azure VM

Paul I have created VM on azure from Ubuntu 14.04 LTS Canonical image. I can use public IP. I added inbound security rules for the following ports: http port (80), source: any, action: allow. I'm trying to ping a port using psping (since Azure doesn't allow re

Google VM Instant - Can't access SSH

Jeff I have installed ERPNext from Google Click to Deploy since 6 months ago and with that software it worked until last week until I lost access to the system and SSH When connecting using SSH, the system shows that connecting through the Cloud Identity-Aware

Can't SSH to Debian VM from Ubuntu

burakcan.yurttutan I can't connect to Debian 9 Server from Ubuntu OS. Debian 9 is a Virtualbox VM. I modified sshd_configand added new user server1on deb server . The Openssh server is setup on the deb server. Deb server is listening on 0.0.0.0 and -p 22. Alth

Bluemix VM can't connect via SSH

Howard Liu As my thread states, I can't connect to the server via ssh, but I can connect to the server via Horizon. My region is USA. I tried CentOS 7 and Ubuntu 14.10 provided by Bluemix. I use a security group to enable all data (either ipv4 or ipv6, whateve

I can't SSH into my Ubuntu VM

Unais221 So I went through the notes and tried to install an Oracle virtual machine that could run Ubuntu. Also, I'm having issues with SSH and the long details of the setup process are a bit vague. But I think I did it correctly, mainly setting the sshd_confi

Google VM Instant - Can't access SSH

Jeff I've installed ERPNext from Google Click to Deploy since 6 months ago and with that software it worked until last week until I lost access to the system and SSH When connecting using SSH, the system shows that connecting through the Cloud Identity-Aware p

Can't SSH to Debian VM from Ubuntu

burakcan.yurttutan I can't connect to Debian 9 Server from Ubuntu OS. Debian 9 is a Virtualbox VM. I modified sshd_configand added new user server1on deb server . The Openssh server is setup on the deb server. Deb server is listening on 0.0.0.0 and -p 22. Alth

Bluemix VM can't connect via SSH

Howard Liu As my thread states, I can't connect to the server via ssh, but I can connect to the server via Horizon. My region is USA. I tried CentOS 7 and Ubuntu 14.10 provided by Bluemix. I use a security group to enable all data (either ipv4 or ipv6, whateve

Google VM Instant - Can't access SSH

Jeff I have installed ERPNext from Google Click to Deploy since 6 months ago and with that software it worked until last week until I lost access to the system and SSH When connecting using SSH, the system shows that connecting through the Cloud Identity-Aware

I can't SSH into my Ubuntu VM

Unais221 So I went through the notes and tried to install an Oracle virtual machine that could run Ubuntu. Also, I'm having issues with SSH and the long details of the setup process are a bit vague. But I think I did it correctly, mainly setting the sshd_confi

Google VM Instant - Can't access SSH

Jeff I've installed ERPNext from Google Click to Deploy since 6 months ago and with that software it worked until last week until I lost access to the system and SSH When connecting using SSH, the system shows that connecting through the Cloud Identity-Aware p

Can't SSH into Vagrant VM (without using vagrant ssh)

Sloan Ahrens In preparation for adapting the fabric deployment script for use by a local Vagrant VM, I'm trying to convince the VM to let me SSH into it without using SSH vagrant ssh. I keep getting errors. I've tried many different combinations of settings, b

Can't SSH into Vagrant VM (without using vagrant ssh)

Sloan Ahrens In preparation for adapting the fabric deployment script for use by a local Vagrant VM, I'm trying to convince the VM to let me SSH into it without using SSH vagrant ssh. I keep getting errors. I've tried many different combinations of settings, b

Can't SSH into Vagrant VM (without using vagrant ssh)

Sloan Ahrens In preparation for adapting the fabric deployment script for use by a local Vagrant VM, I'm trying to convince the VM to let me SSH into it without using SSH vagrant ssh. I keep getting errors. I've tried many different combinations of settings, b

Can't SSH into Vagrant VM (without using vagrant ssh)

Sloan Ahrens In preparation for adapting the fabric deployment script for use by a local Vagrant VM, I'm trying to convince the VM to let me SSH into it without using SSH vagrant ssh. I keep getting errors. I've tried many different combinations of settings, b

Can't open Azure VM open port

Kelvin Mark I have a development computer game server running on an Azure VM. Currently, I can't see the service running through port (22) on the VM. As shown, I have added inbound rules in the network settings of the VM on Azure Azure PortalAzure Portal I als

Can't select "Europe" to create Azure VM

Xi Xiao I want to create Azure VM with public static IP. Here's the problem I'm having: I have a "VS Professional MSDN Subscription" that gives me 45e Azure credits per month. I logged into the Azure portal ( https://manage.windowsazure.com ) with an MSDN subs

Can't connect to MongoDB on new Azure VM

jkruer01 I created a new "container app" in the Azure portal for MongoDB. This used the official MongoDB container from Docker Hub and created an Ubuntu 15.04 box. I've never worked with Docker before. I can SSH into the VM and connect to mongo on the VM. In a

Can't connect to MongoDB on new Azure VM

jkruer01 I created a new "container app" in the Azure portal for MongoDB. This used the official MongoDB container from Docker Hub and created an Ubuntu 15.04 box. I've never worked with Docker before. I can SSH into the VM and connect to mongo on the VM. In a