Append your public key to a remote account's authorized_keys.
Section: Authorized Keys and Host Keys
Install your public key on a server
bash
bash
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@example.comExplanation
Append your public key to a remote account's authorized_keys.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Authorized Keys and Host Keys