Connect to a Private Node with OpenSSH
If a node in your Oracle Java Cloud Service instance does not have a public IP address, you can connect to it from a UNIX or UNIX-like platform by using another node as a proxy.
A node that's dedicated to providing administrative access to other private nodes is also referred to as a bastion.
Use the ProxyCommand
option in OpenSSH to specify the node to use as a bastion when making the secure shell (SSH) connection. After you open an SSH connection to the private node, you can issue commands to the Linux OS.
The node that you intend to use as a bastion must be able to access the private node to which you’re connecting. If necessary, create an access rule or a security rule that enables communication between the two nodes prior to connecting to the node with SSH.