How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (2024)

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (1)

In this blog post, I have discussed how to Generate SSH Key Pair for Oracle Cloud (Windows/Linux).

Note: Oracle Cloud Services are built on the top of OCI, You will need an SSH key pair to access the Linux/Database or Exadata instances. An SSH key pair comprises a Private key and a Public key. You keep the private key on your personal computer and provide the Public key every time you launch an Instance.

You can associate a single SSH public key with multiple Linux machines (Compute/Database instances).

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (2)

Steps To Generate SSH Key Pair

What Do You Need

PuTTY: PuTTY is a free, open-source implementation of several network protocols including SSH. It is available for Windows and UNIX platforms. PuTTY includes several utilities including a terminal emulator, an SSH key generator, and a network transfer application.

For this blog post, we will use the PuTTY Key Generator (puttygen.exe) for Windows. Download PuTTY (64-bit) From HERE & Click HERE to Download for 32-bit.

Note: Once you Install the PuTTY on your machine, you can easily run PuTTYgen.

The process mentioned below is to be followed to generate Private and Public Keys by Using PuttyGEN.

1) Download PuTTYgen Software from the location given above.

Once done, go to Windows -> Start Menu -> All Programs -> PuTTY -> PuTTYgen.

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (3)

2) Open PuttyGEN, it will look like the image below:

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (4)

Note: Make sure the configuration shown below is selected.

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (5)

3) Click on the ‘Generate’button and hover your mouse around the area blank area randomly to generate the keys.

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (6)

4) There will be a key generated in the blank box as shown below. Click on the Save private key’ button to save the private key on your system.

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (7)

Note: We can also save the private keys without passphrase but for security reasons, you enter a passphrase. (In production, you must use a passphrase to protect your private key).

5) For saving the public key, first copy and paste the Key content in a notepad file from the window shown below as sometimes it shows an issue while accepting the public key file (During Instance creation). In that case, we can use the copied key content.

Note: Make sure you select the option to copy the key content during Instance creation as we faced issues in the past when we select the directly saved key.

6) After that, click on ‘Save public key’ to save the file and save it at the same location where you have saved the private key on your system.

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (8)

Creating an SSH Key Pair on Linux

1) Open a shell or terminal for entering the commands.

2) At the prompt, enter ssh-keygen and provide a name and passphrase when prompted.

The keys will be created with the default values: RSA keys of 2048 bits.

Alternatively, you can type a complete ssh-keygen command. For example:

ssh-keygen -t rsa -N “” -b 2048 -C “<key_name>” -f <path/root_name> How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (9)

Connect to the Compute/Database Instance

You can connect to a running instance by using a Secure Shell (SSH) for Linux or Remote Desktop connection for Windows. To connect to a Linux instance from your Laptop, you can download a free SSH client called PuTTY fromHERE.

Enter the Public IP Address in the Hostname, then add the SSH Private key (Which we have created in the above-mentioned steps) under ‘SSH’& thenAuth.Click on ‘Open‘.

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (10)

At last but not least, as I always say that the best way to learn something is by performing it.

Tasks for You

  1. If you don’t have an Oracle Trial Account, then go and register using my Absolutely FREE Step-by-Step Activity Guide.
  2. Create a Linux or Windows Machine (Make sure you have the SSH keys ready if you are creating a machine on Linux).
  3. Connect to the machine you have created. For Linux, use PUTTY and for Windows, use Remote Desktop or RDP.

Post your doubts and queries in the comments section below. If you like this post, share it with your colleagues!

Related/Further Readings

  • Create Compute (Linux/Windows Machine) On Oracle Cloud (OCI)
  • [Video] How To Create Database on Oracle’s Gen2 Cloud (OCI)
  • SOAP Vs REST APIs In Oracle Integration Cloud (OIC)

Begin your journey towards becoming anOracle Cloud Expertand earn a lot more in 2024 by joining ourFREE CLASS.You will also know more about theRoles and Responsibilities,Job opportunitiesfor OCI Architects, Admins in the market, and what to study IncludingHands-On labsyou must perform to get the Higher Paying jobs.

Click on the below imageto Register for OurFREE ClassonMASTERING ORACLE CLOUD FOR DBAs, APPs DBAs, ARCHITECTS & SYS ADMINS

How to Generate SSH Keys Pair for Oracle Cloud (Windows/Linux) (2024)
Top Articles
PPC: How to Run Effective and Profitable Ads
The importance of trade for Sweden's development
Rosy Boa Snake — Turtle Bay
Victor Spizzirri Linkedin
Parke County Chatter
Tabc On The Fly Final Exam Answers
Arkansas Gazette Sudoku
Encore Atlanta Cheer Competition
Pj Ferry Schedule
What's Wrong with the Chevrolet Tahoe?
Vocabulario A Level 2 Pp 36 40 Answers Key
California Department of Public Health
Bjork & Zhulkie Funeral Home Obituaries
6813472639
Hell's Kitchen Valley Center Photos Menu
Maplestar Kemono
Love In The Air Ep 9 Eng Sub Dailymotion
How Much Are Tb Tests At Cvs
The Grand Canyon main water line has broken dozens of times. Why is it getting a major fix only now?
Carson Municipal Code
Gia_Divine
Samantha Aufderheide
Poe Str Stacking
Surplus property Definition: 397 Samples | Law Insider
Timeline of the September 11 Attacks
A Christmas Horse - Alison Senxation
1636 Pokemon Fire Red U Squirrels Download
100 Gorgeous Princess Names: With Inspiring Meanings
Ugly Daughter From Grown Ups
Rund um die SIM-Karte | ALDI TALK
Kokomo Mugshots Busted
Southern Democrat vs. MAGA Republican: Why NC governor race is a defining contest for 2024
Tamilrockers Movies 2023 Download
Indiana Immediate Care.webpay.md
Appraisalport Com Dashboard /# Orders
Prima Healthcare Columbiana Ohio
Hotels Near New Life Plastic Surgery
Shoreone Insurance A.m. Best Rating
Restored Republic December 9 2022
How To Upgrade Stamina In Blox Fruits
Mid America Clinical Labs Appointments
Best Restaurants West Bend
Tfn Powerschool
Bustednewspaper.com Rockbridge County Va
Reli Stocktwits
Sinai Sdn 2023
Kate Spade Outlet Altoona
Craigslist Charles Town West Virginia
Verilife Williamsport Reviews
Lake County Fl Trash Pickup Schedule
Cool Math Games Bucketball
How to Choose Where to Study Abroad
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 5994

Rating: 4.3 / 5 (64 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.