Connecting to an Administration Server or Load Balancer VM

You can access an Administration Server or a Load Balancer VM through a secure shell (SSH) utility.

To access a VM through SSH:

  1. Navigate to the Services page of the Oracle Java Cloud Service console.
  2. Click the service instance associated with the VM you want to access.
    The Oracle Java Cloud Service Instance page is displayed with the Overview tile in focus, displaying detailed information about the service instance.
  3. From the list of virtual machines, note the Public IP address of the Administration Server or the Load Balancer, depending on which VM you want to access.
    This address will be specified in the typical octet format (111.111.111.111).

    Note:

    The console displays public IP addresses only for the Administration Server and the Load Balancer VMs, not for the managed server VMs. For more information, see Connecting to a Managed Server VM.
  4. 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
    
  5. On Windows, you can use PuTTY, an open source networking client for the Windows platform, to connect to the VM as the opc user.

    To download PuTTY, go to http://www.putty.org/ and click the You can download PuTTY here link.

    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.
  6. 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.