Question
How do I add my SSH public key to a server protected by Cloudflare?
Asked by: USER9741
67 Viewed
67 Answers
Answer (67)
The most common way is to append the contents of your public key file (e.g., `id_rsa.pub`) to the `~/.ssh/authorized_keys` file on the server. You can do this with `ssh-copy-id user@server_ip` or manually by copying the public key content and pasting it into the `authorized_keys` file.