OCI - How to generate SSH key pair to access OCI instance?
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Goal
To generate ssh key pair for accessing the OCI instance.
Solution
There are two ways of generating an SSH Key pair:
►Creating an SSH key pair on windows using PuttyGen key generator:
- Open puttygen.exe in windows
- Generate the key using the following parameters :
Type of Key: RSA
Number of Bits in a generated key : 2048
- Click generate.
- Move your mouse around the blank area in the PuTTY window to generate random data in the key.When the key is generated, it appears under "Public key for pasting into OpenSSH authorized_keys file".
Tagged:
0