OCI-Oracle Base Database Service
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