LAB 08 ‐ Key Based Access to Instance - gautam-amitesh/OCI GitHub Wiki

To connect to an Oracle Cloud Infrastructure (OCI) instance using PuTTY we need three things:

  1. Public IP of the instance
  2. PuTTY Private Key (.ppk) we created using PuTTYgen
  3. Username

Connect to instance using PuTTY

  • Open PuTTY

  • On the PuTTY Configuration page type the Public IP of your instance in Host Name (or IP address)

  • Click + icon which is on the left side of SSH

  • In the SSH expanded menu click + icon which is on the left side of Auth

  • In the Auth expanded menu click Credentials

  • Click Browse... to open Private key file for authentication

  • Navigate to where you stored your .ppk format private key, select and click Open

  • Now path to the .ppk file will show up in Browse input

  • If you want to Save the session so that next time you just Load and Open

    • Go to Session

    • Click on input tab just below Saved Sessions and write your instance name and click Save

    • Next time to login select your instance from Saved Sessions and click Load and then click Open or just double click on your Saved Session

    • Click Accept and proceed

    • Find your Username in instance details and enter your Username in PuTTY and hit Enter (we can change Username)

    • Now you can give commands