JAEN

Linux

ssh-copy-id

SafeInstall your SSH key

ssh-copy-id <user>@<host>

Appends your public key to the remote authorized_keys with correct permissions — no more hand-copy mistakes.

Examples

  • ssh-copy-id -i ~/.ssh/id_ed25519.pub admin@srv01Install a specific key

Syntax

ssh-copy-id [-i keyfile] user@host

Before you run it

Appends a key only.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store