Skip to content
Code to auto generate SSH and PEM keyfiles for OCI
Branch: master
Clone or download
Latest commit b449517 May 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information. Update May 18, 2019
create.php improved file names May 18, 2019


Code to auto generate OpenSSH and Putty SSH keyfiles that can be used for OCI SSH/API Access


I have been organizing hands-on workshop for the Oracle Cloud Infrastructure and found that people (especially windows-based users) struggle creating the right kind of key files for OCI.

Depending on people choice of PC (putty) or Mac/Linux (ssh), people require a different format for SSH / API access to OCI.

This code you can run on a webserver and will automatically create private and public key files in both PEM (SSH/API access) and Putty SSH (Windows Users) format.

You can test it out here:


This is a personal repository. Any code, views or opinions represented here are personal and belong solely to me and do not represent those of people, institutions or organizations that I may or may not be associated with in professional or personal capacity, unless explicitly stated.

You can’t perform that action at this time.