Add Public Key to Server With ssh-copy-id
💡 To SSH into a server using a key pair you need to add your public key to the server's "authorized_keys" file.
Besides old-school copy-pasting your public key into the file, you can also use ssh-copy-id:
👉🏼 `ssh-copy-id -i ~/.ssh/mykey.pub user@host`
Download the VPS Security Cheatsheet
No spam! 🙅🏻♀️ Unsubscribe at any time.