Cannot PuTTY into Hyper-V VM (Ubuntu 18 server)

geoB

An Ubuntu 18.04 server virtual machine in Hyper-V refuses connections via PuTTY. The guest is running & can be pinged from the host (Windows 10, 1903). The server is freshly built from an iso. Openssh-server was installed during installation.

Server shows that it's listening on port 22. PuTTY will connect to remote systems. Using WSL to ssh into the server also results in Connection refused. PuTTY will also connect to VirtualBox VMs when that is used. (I'm trying to evaluate Hyper-V and am not yet amused!)

Edit: what may be a related issue is that after installing Apache2 & browsing to the VM's IP address I get the host, not the guest. The guest's adapter has a static IP address and is configured as an external switch on the host's adapter. So I'm trying to ssh to the host from the host? What Total Fun!

geoB

Issue resolved: there was a conflict/confusion with an earlier attempt to fix the issue. I ended up disabling a VirtualBox adapter at the host.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to install Ubuntu 19.04 live server on Hyper-V VM?

From Dev

Ubuntu Server 18.04 LTS cannot change resolution in Hyper-V

From Dev

Ubuntu Server 18.04 LTS cannot change resolution in Hyper-V

From Dev

Installing Ubuntu 20.04 on Hyper-V VM

From Dev

How to Configure for Intranet Only Access? Apache, Ubuntu Server 18.04, Hyper-V VM

From Dev

Ubuntu 12.04 VM on Windows 8 Hyper-V - No Network Connectivity

From Dev

Hyper-V and a static IP address for Ubuntu VM

From Dev

Get Hyper-V information from Ubuntu VM

From Dev

Change Server 2012 display resolution inside of a Hyper-V VM?

From Dev

Importing an exported VM in the same Hyper-V server

From Dev

Restore large backup on SQL Server's VM currently replicating to a remote VM both Hyper-V

From Dev

Restarting network not working for a Ubuntu Server Hyper-V instance

From Dev

Ubuntu Server VM (Hyper-V): formatting of sda2 partition (mkfs.ext4 -G 4096 /dev/sda2) before install

From Dev

Under what environment would a VM perform better: a virtual box VM on a lightweight Linux distro, or a hyper-v VM on windows server 2012?

From Dev

How can I get Hyper V to detect my Ubuntu VM's IP Address

From Dev

Not able to open port between windows 10 and locally hosted Ubuntu VM created on Hyper-v

From Dev

Preseeding Ubuntu 16.04 for a Hyper-V VM fails to install the UEFI boot section

From Dev

Hyper-V does not provide the IP of a Ubuntu Guest from powershell with Get-vm -ExpandProperty NetworkAdapters

From Dev

Not able to open port between windows 10 and locally hosted Ubuntu VM created on Hyper-v

From Dev

How to find all VM/Hyper-V and then reboot them on Window Server 2012 with the use of Power-shell

From Dev

Conversion of VMware terminal server VM to Hyper-V now has stretched screen across multiple monitors

From Dev

Download Azure VM to local Hyper-V

From Dev

RDP to Hyper-V VM Guest on Network

From Dev

Hyper-V inside an Azure VM

From Dev

Cloning and Adding Hyper-V VM to Domain

From Dev

Trying to SSH to local VM Ubuntu with Putty

From Dev

Hyper-V manager on ubuntu

From Dev

Hyper-V Server Backup

From Dev

Cannot connect to windows http server from ubuntu running on Vmware VM

Related Related

  1. 1

    How to install Ubuntu 19.04 live server on Hyper-V VM?

  2. 2

    Ubuntu Server 18.04 LTS cannot change resolution in Hyper-V

  3. 3

    Ubuntu Server 18.04 LTS cannot change resolution in Hyper-V

  4. 4

    Installing Ubuntu 20.04 on Hyper-V VM

  5. 5

    How to Configure for Intranet Only Access? Apache, Ubuntu Server 18.04, Hyper-V VM

  6. 6

    Ubuntu 12.04 VM on Windows 8 Hyper-V - No Network Connectivity

  7. 7

    Hyper-V and a static IP address for Ubuntu VM

  8. 8

    Get Hyper-V information from Ubuntu VM

  9. 9

    Change Server 2012 display resolution inside of a Hyper-V VM?

  10. 10

    Importing an exported VM in the same Hyper-V server

  11. 11

    Restore large backup on SQL Server's VM currently replicating to a remote VM both Hyper-V

  12. 12

    Restarting network not working for a Ubuntu Server Hyper-V instance

  13. 13

    Ubuntu Server VM (Hyper-V): formatting of sda2 partition (mkfs.ext4 -G 4096 /dev/sda2) before install

  14. 14

    Under what environment would a VM perform better: a virtual box VM on a lightweight Linux distro, or a hyper-v VM on windows server 2012?

  15. 15

    How can I get Hyper V to detect my Ubuntu VM's IP Address

  16. 16

    Not able to open port between windows 10 and locally hosted Ubuntu VM created on Hyper-v

  17. 17

    Preseeding Ubuntu 16.04 for a Hyper-V VM fails to install the UEFI boot section

  18. 18

    Hyper-V does not provide the IP of a Ubuntu Guest from powershell with Get-vm -ExpandProperty NetworkAdapters

  19. 19

    Not able to open port between windows 10 and locally hosted Ubuntu VM created on Hyper-v

  20. 20

    How to find all VM/Hyper-V and then reboot them on Window Server 2012 with the use of Power-shell

  21. 21

    Conversion of VMware terminal server VM to Hyper-V now has stretched screen across multiple monitors

  22. 22

    Download Azure VM to local Hyper-V

  23. 23

    RDP to Hyper-V VM Guest on Network

  24. 24

    Hyper-V inside an Azure VM

  25. 25

    Cloning and Adding Hyper-V VM to Domain

  26. 26

    Trying to SSH to local VM Ubuntu with Putty

  27. 27

    Hyper-V manager on ubuntu

  28. 28

    Hyper-V Server Backup

  29. 29

    Cannot connect to windows http server from ubuntu running on Vmware VM

HotTag

Archive