Connect to the Administration Server VM

You can access the Administration Server VM through a secure shell (SSH) utility.

To access the Administration Server VM through SSH:

  1. Sign in to the Oracle Cloud Infrastructure Console.
  2. Open the navigation menu and click Compute. Under Compute, click Instances.
  3. Click the instance associated with the VM you want to access.
  4. Note the Public IP Address of the Administration Server VM.

    Compute instance details
  5. On UNIX and UNIX-like platforms, use the standard OpenSSH command (ssh ) to connect to the VM as the opc user.
    Provide the following:
    • The path to the private key corresponding to the public key used at the time of provisioning.

    • The VM’s public IP address.

    in this format:

    ssh -i path_to_private_key opc@VM_IP_address

    For example:

    ssh -i /home/myuser/id_rsa opc@111.111.111.111

    To connect to an instance provisioned in a private network through a Bastion host, use the following command syntax:

    ssh -i path_to_private_key -o ProxyCommand="ssh -W %h:%p -i path_to_private_key opc@bastion_public_ip" opc@soanode_private_ip

    For example:

    ssh -i /home/myuser/id_rsa -o ProxyCommand="ssh -W %h:%p -i /home/myuser/id_rsa opc@111.111.111.111" opc@10.0.0.1
  6. On Windows, you can use PuTTY, an open source networking client for the Windows platform, to connect to the VM as the opc user.
    1. Launch PuTTY.

      The PuTTY Configuration window is displayed, showing the Session panel.

    2. In the Host Name (or IP address) field, enter the public IP address of the VM.
    3. In the Category tree, expand Connection if necessary and then click Data.
    4. In the Auto-login username field, enter opc.
    5. Confirm that the When username is not specified option is set to Prompt.
    6. In the Category tree, expand Connection > SSH, and then click Auth.
    7. Under Private key file for authentication, click Browse.
    8. Navigate to and select your private key file. Then click Open.

      Note:

      The .ppk file extension indicates that the private key is in PuTTY's proprietary format. You must use a key of this format when using PuTTY. If you have to use a key saved in a different format, see the PuTTY documentation.
    9. Click Open to open the connection to the VM.
  7. If the private key was defined with a passphrase, enter this value when prompted.
When the VM command line appears, you can use any resource accessible from the VM. For example, you can run the WebLogic Scripting Tool on the Administration Server VM.