Accessing an Instance
Connect to your Oracle Cloud Infrastructure instance using SSH.
Prerequisites
Before connecting, obtain the following:
- SSH client
- Public IP address of the instance
- Path to the SSH-2 RSA private key file
Connecting Using SSH
- Complete the Prerequisites.
- From an SSH client, use the default
opc
user to connect to the instance.For example:
ssh -i PRIVATE_KEY_PATH opc@PUBLIC_IP_ADDRESS
- After you’re logged in as
opc
, you can use thesudo
command to run administrative tasks.For example, run the following command to show details for all storage devices attached to your instance:
sudo oci-iscsi-config --show
For more information, see: