In my case scenario example, this is the Server running the Hyper-V virtual machine(s):

luis@Fresoncio:~$ sudo nmap

Starting Nmap 7.40 ( https://nmap.org ) at 2017-12-07 22:30 UTC
Nmap scan report for
Host is up (0.00039s latency).
Not shown: 997 filtered ports
135/tcp   open  msrpc
2179/tcp  open  vmrdp
49154/tcp open  unknown
MAC Address: 48:43:5A:1E:96:5C (Huawei Technologies)

Nmap done: 1 IP address (1 host up) scanned in 57.06 seconds

I know the IP of the running virtual machine(s), and I can access to all of them without problems.

How can I access to the Hyper-V Server in order to manage it by using Linux?

Both GUI and console methods accepted.

Further Info obtained by researching:

  • FreeRDP is expected to work on Windows (claimed Update: Now with Windows Server / Hyper-V Server 2012 R2 support. here), Linux and MacOS, but the docs about how to use it are not detailed enough for me, and have no examples. Some step-by-step explanation based on my above data example or link to tutorials would be great.

To connect from Linux or Mac OS X using an old version of xfreerdp:

xfreerdp –ignore-certificate –no-nego -u "user" –pcb "vmguid" -t 2179 "hypervhost"

Newer command tested on freerdp 2.0.0-rc1:

xfreerdp /vmconnect:vmguid /u:user /cert-ignore /v:hypervhost

user -- user with Hyper-V Administrator rights
vmguid -- GUID for the VM, can be obtained with Get-VM vmname | select id
hypervhost -- hostname of Hyper-V server

For more information on using old versions of freerdp:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.