Connecting OCI compute with SSH
tags :
SSH OCI compute #

From “My Profile” Add API Key #
Copy the public key to clipboard in the required format from .pub format
ssh-keygen -f ~/.ssh/id_rsa.pub -e -m pkcs8 | pbcopy

create “~/.oci/config” file #
[DEFAULT]
user=ocid1.user.oc1..aaaaaaaaya3c7ken4btxftmte342m3gnypmilth2ncpq3yypklkrzjimcmka
fingerprint=4f:0d:51:f7:a8:00:50:67:16:90:36:cf:71:78:74:21
tenancy=ocid1.tenancy.oc1..aaaaaaaazmhsjjrmpkwxxmyctoaoha4klg3jrlqrfc2cofhrtreocrrqie3a
region=me-jeddah-1
key_file=<path to your private keyfile> # TODO
SSH config #
concrete example