Skip to content

Lab 10 ‐ key based access to instance

Md Mahbub Alam edited this page Oct 11, 2026 · 2 revisions

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

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

Connect to instance using PuTTY

  • First Write PuTTY on start search bar
image
  • Open PuTTY
image
  • On the PuTTY Configuration page type the Public IP of instance in Host Name (or IP address)
image image
  • Click on + icon which is on the left side of SSH
image
  • Expend SSH menu then Click + icon which is on the left side of Auth
image
  • In the Auth expanded menu click Credentials
image
  • Click Browse... to open Private key file for authentication
image
  • Now path to the .ppk file will show up in Browse input
image
  • If you want to Save the session so that next time you just Load and Open

Go to Session

image
  • Save the session and write your instance name
image
  • 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
image
  • Click on Accept and proceed
image
  • Find your Username in instance details and enter your Username in PuTTY and hit Enter (we can change Username)
image image
  • Now you can give commands
image

Clone this wiki locally