ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • VMWare Fusion 11 에서 내부 guest vm 에 ssh 접속
    Dev 2019. 11. 21. 10:39
    반응형

    Procedure

    1. Select VMware Fusion > Preferences and click Network.

    2. Click the lock icon, enter the administrator password, and click OK.

    3. Click the plus sign (+) under the list of networks.

    4. (Optional) If you want to rename a virtual network, double-click the name, enter a new name, and press Return.

    5. Allow virtual machines on the network to use NAT to connect to external networks.

      1. Select Allow virtual machines on this network to connect to external networks (using NAT).

      2. Click the plus sign (+) under the Port Forwarding section for each port-forwarding configuration you want to add.
      3. For each port-forwarding configuration you add, provide the following information and click OK.

        Host port

        A port number available on the Mac host. Verify that the port does not conflict with ports used by existing port forwarding entries.

        Type

        The appropriate protocol to use.

        Virtual Machine IP address

        The IP address of the virtual machine to which you want to forward the incoming requests.

        Virtual Machine Port

        The port number to use for requests on the specified virtual machine. The port might be the standard port, such as 80 for HTTP, or a nonstandard port if software running in the virtual machine is configured to accept requests on a nonstandard port.

        A port-forwarding configuration appears in the list of networks.

    6. Click Apply.

    Now try ssh from outside of vm to vm guest.

    $ ssh <vm host address> -p <Host port>

     

     

     

     

     

    참조:

    https://docs.vmware.com/en/VMware-Fusion/11/com.vmware.fusion.using.doc/GUID-7D8E5A7D-FF0C-4975-A794-FF5A9AE83234.html

     

    반응형
Designed by Tistory.