Question
How do I generate an SSH key pair for use with Cloudflare-protected servers?
Asked by: USER3961
76 Viewed
76 Answers
Answer (76)
Use the `ssh-keygen` command in your terminal. For example, `ssh-keygen -t rsa -b 4096 -C "your_email@example.com"`. Choose a strong passphrase to protect your private key. This will create both a private key (e.g., `id_rsa`) and a public key (e.g., `id_rsa.pub`).