You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI-Oracle Base Database Service

Received Response
13
Views
3
Comments

Hello Experts,

We are using Oracle Base Database Service. We have created a database system. We are trying to connect to database host, to connect as sysdba and run some apex installation scripts.

 We want to access database host using bastion from cloud shell.

We have created bastion in the same subnet as database host and created bastion session to connect to database host.

From Bastion session: we have copied ->ssh -i <privateKey> -N -L *******:22 -p 22 ocid1.bastionsession.oc1.ap-hyderabad-1.****"@host.bastion.ap-hyderabad-1.oci.oraclecloud.com

 replaced <privateKey> and modified the statement is

 ssh -i ssh-key-2024-03-00.key -N -L 22:*****:22 -p 22 ocid1.bastionsession.oc1.ap-hyderabad-1.***""""@host.bastion.ap-hyderabad-1.oci.oraclecloud.com

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!