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 Windows Server.

I've learned that in this case sometimes the "Configuration Password" needs to be reset: VM's "Reset Password"

This allowed me to successfully use the "Troubleshoot Connections" tool (built into Azure) to "segment" the SSH connection (from my IP to the Azure VM). But I still find myself unable to establish an SSH connection. (The connection continues to "time out".)

image of inbound network rule

Image of Azure "Connectivity Troubleshooter"

Any ideas?

Angelson

I had to manually install the sshd service following the instructions here : https://365adviser.com/powershell/install-use-openssh-windows-powershell-core-remoting-via-ssh/

It's worth noting that step 2 refers to a devalued GitHub project. So I need to adjust the URI. I also need to append that -UseBasicParsingoption. Here is the final result:

Invoke-WebRequest -Uri http://mengelsen.000webhostapp.com/shared-items/OpenSSH-Win64.zip -UseBasicParsing -OutFile openssh.zip

Related


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 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 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 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 SSH to VM from Windows 10 (it worked before)

Shamir I'm running an Ubuntu 14 VM in Oracle Virtual Box on my host Windows 10 machine for a university assignment running mininet. Everything was working fine until one day I woke up and tried to ssh into the VM and let me log in (with a welcome message), but

SSH to Azure Windows VM from local Windows VM

Amir I would like to establish an SSH connection from a local Windows computer or a VM on the computer to an Azure Windows Server VM. I tried Cygwin and Putty, but they both give timeout connections. I used a public IP address and opened port 22 on the Azure V

Can't clone GIT repository from Windows server, but can SSH

Gregory I've seen a lot of posts about the bug I'm running into, but can't find any potential fixes I'd like to try without getting feedback from some people who know better. The setup: I recently built a Windows 7 PC and installed Apacheit PHPas well MySQL. E

Can't clone GIT repository from Windows server, but can SSH

Gregory I've seen a lot of posts about the bug I'm running into, but can't find any potential fixes I'd like to try without getting feedback from some people who know better. The setup: I recently built a Windows 7 PC and installed Apacheit PHPas well MySQL. E

Can't clone GIT repository from Windows server, but can SSH

Gregory I've seen a lot of posts about the bug I'm running into, but can't find any potential fixes I'd like to try without getting feedback from some people who know better. The setup: I recently built a Windows 7 PC and installed Apacheit PHPas well MySQL. E

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

Can't view Ubuntu Server (VM) in browser, I can connect using SSH

Matt I can't seem to access my php files in the browser from an external ip. I have an Ubuntu Server VM setup on a Windows desktop. I also own a Windows laptop (outside the network 99% of the time). I have OpenSSH on the server. The server has bridged adapter

Can't view Ubuntu Server (VM) in browser, I can connect using SSH

Matt I can't seem to access my php files in the browser from an external ip. I have an Ubuntu Server VM setup on a Windows desktop. I also own a Windows laptop (outside the network 99% of the time). I have OpenSSH on the server. The server has bridged adapter