# Private Key

*noun*

say it: **“PRY-vit kee”** **/ˈpraɪvɪt ki/**

The secret half of a key pair, kept only on your computer, that opens what the public key locks.

## What is a **private key**?

A **private key** is the half of a key pair you keep to yourself, the only key that opens your public key's padlock. Anyone who has it can log in as you, so it never leaves your computer, and a passphrase locks it in case the computer is lost.

```bash
stat -c '%A %n' ~/.ssh/id_ed25519
# -rw------- /home/sam/.ssh/id_ed25519   (only you can read it)
```

## In a sentence

- “A passphrase locks the **private key** in case the laptop is stolen.”
- “Sam's **private key** never leaves her laptop.”

Level: Journeyman · [More Operating System terms at this level](https://www.ask-codey.com/glossary?category=operating-system&level=3)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/private-key
