Install your public key on a server
medium risk
Appends your public key to ~/.ssh/authorized_keys remotely.
| Flag | Meaning |
|---|---|
-i | Use a specific public key |
-p | SSH port |
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@hostInstall a key · explain & risk-check →Reference text is hand-written and may be incomplete — check man ssh-copy-id for your version. Test destructive commands on a non-production system first.