Recovering opc user SSH Key - OCI
Recovering opc user SSH Key on OCI ===================================== Today i came across the situation where my colleague has created UNIX instance on oci and then she lost opc user private keys. Due to that she was not able to login to that instance and no one has access to this instance as well. It can happen with any one who is trying to connect into their Oracle Cloud Infrastructure instance but either you forgot which key you used or, for some unknown reason, your opc user SSH key got corrupted or deleted. It might be scary at first, but the process to recover an opc user SSH key on Oracle Cloud Infrastructure is easy. So if you get a "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)" error when trying to connect via SSH, follow this process to recover your key. Summary ( High Level Steps Stop the instance that you can't log in to. Detach the boot volume. Attach the boot volume to a running Linux instance. Run the iSCSI commands to attac...