Add an SSH-Enabled User
If you’ve created your instance using an Oracle-provided Oracle Linux image, then you can use SSH to access your Oracle-provided Oracle Linux instance from a remote host as the opc
user. After logging in, you can add users on your instance.
ssh new_user@ip_address -i private_key
In this command, ip_address is the public IP address of the instance, and private_key is the full path and name of the file that contains the private key corresponding to the public key that you added to the authorized_keys
file earlier in this procedure.
If an error occurs, see Can’t connect to an instance using SSH in Using Oracle Cloud Infrastructure Compute Classic.
Use the sudo
command to run administrative tasks.