Answer the question
In order to leave comments, you need to log in
How to connect in a Hyper-V virtual machine?
Good afternoon everyone!
Please tell me how can I connect to a remote virtual machine via SSH.
I have Windows Server 2019 running on hardware.
I can connect to it via RDP using VPN.
On this server, an Ubuntu virtual machine is raised via Hyper-v. I need to connect to it via SSH from the computer from which I RDP to the windows server.
In the case when I put a virtual switch for a virtual machine, it has access to the Internet, but I cannot connect to it. I tried to create NAT and use port forwarding, but it did not lead to anything.
Perhaps you need to somehow configure routing to this virtual machine. The server has a DHCP server.
Please, tell me the detailed steps to solve this issue. Thanks in advance!
Answer the question
In order to leave comments, you need to log in
1. Open the firewall in the virtual machine and on the host.
2. set up port forwarding on a host like woshub.com/port-forwarding-in-windows
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question