SSH Keys

Generate a new private key

openssl genrsa -out <path> 2048

Change file permission

chmod go-rwx ~/.oci/oci_api_key.pem

Generate the public key from your new private key

openssl rsa -pubout -in <path_private> -out <path public>             

Get key fingerprint

openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -c