How to connect VMs with private IPs owned by different users

25 Views Asked by At

I want connect VMs with private IPs owned by different users. I tried SSH between the machines but private IPs are not reachable. Public IPs are working. Bothe users are located into the same AD-1 zone.

1

There are 1 best solutions below

1
Jyoti Saini On

Is there a reason you want to use private IPs and not public IP ? You will not be able to directly ssh using private IPs. You either need to use a jump server or bastion to achieve that. Please consider using OCI Bastion service. https://docs.oracle.com/en-us/iaas/Content/Bastion/Concepts/bastionoverview.htm.