For accessing Oracle Cloud Services securely and for authorized access, combination of Public and Private Keys are required. So before the process of creating a new Database Instance public and private keys should be generated. Below is the process for generating public/private key.
Tools Required: PuttyGen.
Download PuttyGen from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Follow below steps to use PuttyGen to generate keys.
Open Putty Key Generator.
Accept the defaults with SSH-2 RSA and 2048. Click on Generate.
Now next step is important one. One needs to move mouse in the empty area freely till time the message “Please generate some randomness by moving the mouse over blank area” is flashing on the bar.
Once this is complete there will be a below screen. Although PassPhrase is not mandatory but it’s good to have it. Enter passphrase in Key Passphrase and confirm passphrase window.
In order to save private key, Click Save Private Key.
Save the file. It will be saved with .ppk extension. So we have successfully generated private key.
Next in order to generate public key. Please DO NOT use the Save Public key.
Select the public key generated from the window. Copy the whole text.