# ssh-copy-id

*noun*

say it: **“ES-es-ESH KOP-ee eye-DEE”** **/ˌɛsɛsˈeɪtʃ ˈkɑpi ˌaɪˈdi/**

A command that puts your public key on another computer, so you can log in there with your key instead of a password.

## What does **ssh-copy-id** do?

`ssh-copy-id` logs in to a server with your password one last time and adds your public key to its list of keys it accepts. From then on, `ssh` logs you in with your key.

```bash
ssh-copy-id sam@localhost
# Number of key(s) added: 1
```

## In a sentence

- “After **ssh-copy-id**, ssh asked for Sam's passphrase instead of the server's password.”
- “**ssh-copy-id** reported Number of key(s) added: 1.”

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

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/ssh-copy-id
