Answer the question
In order to leave comments, you need to log in
How to connect via ssh to a Hyper-V virtual machine from a host?
1. Windows Server is running Hyper-V with Ubuntu.
2. Virtual Network Adapter for Hyper -V Ubuntu created.
3. Hyper-V Ubuntu has internet access.
4. With Win Server I can't connect via ssh (via Putty) to Hyper-V Ubuntu
5. Win Server has ip 192.168.22.80, Ubuntu 192.168.22.91
6. I have a Windows 10 PC 192.168.22.55
7. Win 10 can connect via ssh via Putty to 192.168.22.91 (Hyper-v Ubuntu)
8.Ping from 192.168.22.80 to 192.168.22.91 and vice versa does not work.
9. On Ubuntu, sshd has ListenAddress 0.0.0.0
10. Added allow ip 192.168.22.80, 192.168.22.55 on port 22
to ufw 11. Even with ufw disabled, Win10 connects to Ubuntu, but Win Server does not.
12. Win10 does not ping Win Server at 192.168.22.80
13. Win Server pings Win 10 at 192.168.22.55
Could it be that the Win Server firewall is blocking incoming connections?
With the firewall turned off, nothing has changed.
Tell me please, what could be the problem?
Answer the question
In order to leave comments, you need to log in
It seems that there are problems with the network on winserver. To get started, look at the arp table - if there is a game there, try registering statics and look for who else is at this address, or why the entry has not been updated. There is also an assumption that you configured the wrong network interface on the server with Windows. There may also be problems with the system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question