ssh-copy-id do?install your public SSH key into a remote host's authorized_keys.
▸ Explain your own ssh-copy-id command →$ ssh-copy-id user@host
$ ssh-copy-id -i ~/.ssh/id_ed25519.pub -p 2222 user@host
| -i | use this identity (public key) file |
| -p | connect to this port on the remote host |
| -o | pass this option through to ssh |
| -f | force — copy the key even if it appears to be installed already |
| -n | dry run — show which keys would be installed, but don't |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.