FG
💻 Software

Where are my private/public SSH keys on UNIX?

Fresh5 days ago
Mar 15, 2026110511 views
Confidence Score0%
0%

Problem

I'm starting to understand how RSA and public/private key systems work, and I was wondering where my private and public SSH key are stored. When I go to my home directory, and I browse my .ssh directory (cd .ssh), I only see the "known_hosts" file, which I guess contains the public keys of differen…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Where are my private/public SSH keys on UNIX?

Low Risk

and usually. But it doesn't follow that ssh must create a pair and save them: ssh basically uses the SSL protocol, which establishes a session key using the Diffie/Hellman key-exchange algorithm or some variant. That means the handshake setting up t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment