How can I access to Hyper-V management using Linux?












0















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



luis@Fresoncio:~$ sudo nmap 172.18.25.5

Starting Nmap 7.40 ( https://nmap.org ) at 2017-12-07 22:30 UTC
Nmap scan report for 172.18.25.5
Host is up (0.00039s latency).
Not shown: 997 filtered ports
PORT STATE SERVICE
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.










share|improve this question



























    0















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



    luis@Fresoncio:~$ sudo nmap 172.18.25.5

    Starting Nmap 7.40 ( https://nmap.org ) at 2017-12-07 22:30 UTC
    Nmap scan report for 172.18.25.5
    Host is up (0.00039s latency).
    Not shown: 997 filtered ports
    PORT STATE SERVICE
    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.










    share|improve this question

























      0












      0








      0


      1






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



      luis@Fresoncio:~$ sudo nmap 172.18.25.5

      Starting Nmap 7.40 ( https://nmap.org ) at 2017-12-07 22:30 UTC
      Nmap scan report for 172.18.25.5
      Host is up (0.00039s latency).
      Not shown: 997 filtered ports
      PORT STATE SERVICE
      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.










      share|improve this question














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



      luis@Fresoncio:~$ sudo nmap 172.18.25.5

      Starting Nmap 7.40 ( https://nmap.org ) at 2017-12-07 22:30 UTC
      Nmap scan report for 172.18.25.5
      Host is up (0.00039s latency).
      Not shown: 997 filtered ports
      PORT STATE SERVICE
      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.







      hyper-v






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 8 '17 at 0:33









      Sopalajo de ArrierezSopalajo de Arrierez

      1,66983259




      1,66983259






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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:
          https://cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f409617%2fhow-can-i-access-to-hyper-v-management-using-linux%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            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:
            https://cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/






            share|improve this answer






























              0














              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:
              https://cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/






              share|improve this answer




























                0












                0








                0







                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:
                https://cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/






                share|improve this answer















                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:
                https://cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 19 '18 at 7:10









                Yet Another User

                1285




                1285










                answered Dec 15 '17 at 15:02









                Michael WeckerleinMichael Weckerlein

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f409617%2fhow-can-i-access-to-hyper-v-management-using-linux%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                    is 'sed' thread safe

                    How to make a Squid Proxy server?