1

I have a host computer (a mac) running two Ubuntu systems as guest machines. I would like to set up an ssh connection between these two virtual machines.

Both guest machines are equipped with open-ssh server/client. I have given both guest machines "Bridge Mode" so they all have different IP addresses. Have internet connections. But when I try ssh x.x.x.x, it says connection is refused.

My understanding is that this can occur due to firewall settings? Is there a way to solve this??

Is it even possible to accomplish ssh between two guest machines?? I don't see why not?

1
  • Please edit your question to show us the IP config of both machines. In each one type ip ad, we need the output.
    – guntbert
    Aug 13, 2013 at 20:07

1 Answer 1

0

If you are using VirtualBox (you didn't specify), in the Network settings, select Host-only Adapter for both virtual machines. They will be able to "see" each other. (You will not be able to access outside the two machines, however).

1
  • There are several other possibilities beside using "host only".
    – guntbert
    Aug 13, 2013 at 20:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .