Connect to a Node with OpenSSH

You can access a node in an Oracle Java Cloud Service instance from a UNIX or UNIX-like platform by using a secure shell (SSH) utility.

After you open an SSH connection to a node, you can issue commands to the Linux OS.

  1. Access your service console.
  2. Click the name of the service instance that contains the node that you want to access.
  3. On the Overview page, identify the Public IP address of the node you want to access.
    For example, 203.0.113.13.
  4. From your computer, run the ssh command to connect to the node as the opc user.

    Provide the path to the private key that corresponds to the public key that you specified when you created this service instance, and the node’s public IP address.

    The command format is: ssh -i path_to_private_key opc@node_IP_address

    For example: ssh -i /home/myuser/id_rsa opc@203.0.113.13

  5. If prompted, enter the passphrase for the private key.