SSH Key Setup for Developers
Generate SSH keys, create a passphrase, and understand key fingerprints for secure server access.
何时使用此配方
Every developer needs SSH keys for Git, server access, and CI/CD. Ed25519 keys are the modern standard — faster, smaller, and more secure than RSA.
步骤
常见问题
Ed25519 vs RSA — which should I use?
Ed25519 is recommended. It's faster, has smaller keys (256-bit vs 2048-4096 bit), and provides equivalent or better security. Only use RSA if your system doesn't support Ed25519.
Should I use a passphrase for my SSH key?
Yes, always. A passphrase protects the key if your device is compromised. Use ssh-agent to avoid typing it repeatedly.
相关配方
Secure Password Workflow
Generate a strong password, verify its strength, and hash it for storage — a complete password security pipeline.
Web Security Header Audit
Audit your website's security headers, generate a CSP policy, evaluate it, and configure CORS.
JWT Authentication Setup
Set up JWT-based authentication: generate tokens, create signing keys, and implement TOTP for 2FA.
API Security Hardening
Harden your API with HMAC request signing, secure secrets, and SRI for client-side integrity.