My Oracle Support Banner

OL: How to Extract Public Key File from Private Key File for SSH Connection (Doc ID 2789678.1)

Last updated on JULY 09, 2021

Applies to:

Linux OS - Version Oracle Linux 7.2 and later
x86_64

Goal

Time to time for some reason, a RSA/DSA key pair become incomplete and public key file is missing while only private key file is available under ~/.ssh/ directory. When it is needed to configure passwordless login for ssh session. Public key file is needed to installed onto target/remote system.

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.