SSH through to VMs

Discussion in 'General Questions' started by FreddieL, Aug 15, 2014.

  1. FreddieL

    FreddieL Bit poster

    Messages:
    2
    Hi,

    I have an iMac on which I have Parallels Desktop 9. I have several VMs, but the ones that I want to be able to remotely connect to are a Mac one, and a few Ubuntu ones.

    I've setup port forwarding in PD9 preferences, so that port 40012 goes to port 22 at IP 10.0.1.254 (the IP of one of the Ubuntu clients).

    When, from my MacBook, I go into terminal and type in `ssh -p 40012 $UBUNTU_USER@$IMAC_IP_ADDRESS`, it seems like it's trying to connect, but nothing ever happens.

    Anyone have any advice on this situation?

    Freddie
     
  2. Abdul@Parallels

    Abdul@Parallels Parallels Support

    Messages:
    553
    Hi Freddie,

    Please Go to VM configure ( http://kb.parallels.com/117287 ) -> Hardware -> Network1 -> change network mode to Bridged(Default adapter).
    And let us know how it works.
     
  3. FreddieL

    FreddieL Bit poster

    Messages:
    2
    What I want to achieve is that the iMac has it's own IP on my network (10.0.0.10), and each respective VM has it's own IP as well, whether that be on the same 10.0.0.x network, or a 10.0.1.x network as I've set in Parallels shared networking preferences. The iMac connects via WiFi to the network as well.

    If I bridge the adapter, that would mean that for each VM I want to access (all bar Windows), I'd have to set them all to use the bridged adapter. Surely you can't have 5 different devices with different MAC addresses working off the same adapter? That's why I've set it up as shared networking.

    The VMs are also on a VPN network which usually means they aren't accessible from other computers except on the same subnet.
     

Share This Page