This topic does not apply to Oracle Cloud at Customer.
opcis preconfigured. The
opcuser is assigned the System Administrator profile and can perform basic administration tasks without entering a password by using
Ensure that the SSH private key corresponding to the public key that you associated with your instance while creating it is available on the host from which you want to
sshto the instance.
Ensure that the instance has a public IP address. To find out the public IP address of your instance, view the information on the Instances page. See Listing Instances.
Ensure that a security rule exists to enable SSH access to your instance. See Creating a Security Rule.
You can use SSH to log in to your instance as the default user,
opc, by using the following command:
ssh opc@ip_address —i private_key
ip_address is the public IP address of the instance.
If you’ve enabled a VPN tunnel to your Compute Classic instances, you can use the private IP address of your instance to connect to the instance. To set up a VPN tunnel, see Connecting to Instances in a Multitenant Site Using VPN, Setting Up VPN Using VPNaaS, or Connecting to Oracle Cloud Infrastructure Dedicated Compute Classic Instances Using VPN. (Not available on Oracle Cloud at Customer)
private_key is the full path and name of the file that contains the private key corresponding to the public key associated with the instance that you want to access.
If an error occurs, see Can’t connect to an instance using SSH.
When you’re logged in as the
opc user, you can use the
pfexec command to run administrative tasks.
Direct login as
root is disabled. You can assume the
root role by running
su -. The password is
solaris_opc and is marked as expired. You must change the password the first time that you assume the
Tip:For instructions to add SSH-enabled users to the instance, see Creating an SSH-Enabled User on an Oracle Solaris Instance.