Tuesday, 3 March 2026

How To Add A New SSH Key To An Existing Instance in oci db system in Base Database Service


 How To Add A New SSH Key To An Existing Instance in oci db system in Base Database Service


Navigate to the DB Systems list page in the OCI Console.

Select the DB system you want to update.

On the DB system details page, click the Actions menu and select Add SSH keys.

In the Add SSH keys panel, you have a few options to provide the new public key:

Generate SSH key pair: This option creates a new key pair within the Console and prompts you to save both the public and private keys to your local system.

The private key must be stored securely, as it cannot be downloaded again.

Upload SSH key files: Select this to browse for and upload an existing public key (.pub file) from your local machine.

Paste SSH keys: Select this and paste the content of your public key into the provided field. To add multiple keys, click + Another SSH key for each entry.

Click Save to apply the new SSH keys to the DB system.

or

01) Create a new SSH key pair using Puttygen (Windows) or ssh-keygen (Linux)

02) Connect to OCI Console and click on the DB System name

03) Click "Add SSH Keys" option and upload or copy/paste the public key created in step 01).

04) The DB System goes into "Updating" state to reflect that the key is being added. Once the workflow finishes,

you can connect to the server using the new SSH key.

No comments:

Post a Comment