security validator

SSH Public Key Validator

Validate SSH public keys (type and bit-length) locally. No keys are stored or sent.

Results

Processing…
Status
Processing...
Details
Processing...
Key type
Processing...
Key size (bits)
Processing...

Rules & checks

Parses SSH public keys (e.g., ssh-rsa, ssh-ed25519, ecdsa) locally using sshpk.

Reports key type and bit-length when available.

No keys are stored or sent anywhere.

When to use it

  • Check SSH keys before adding to authorized_keys or CI/CD secrets
  • Validate keys submitted via forms or support requests
  • Ensure minimum key size requirements are met

Tips

  • Avoid pasting private keys; this validator is for public keys only
  • Enforce minimum RSA sizes (e.g., 2048 bits) if your org requires it

Examples

Valid RSA

  • ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ... -> valid

Valid ed25519

  • ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... -> valid

Invalid

  • garbled key -> parse error

FAQs

Do you store my key?
No. Parsing happens in your browser and clears on refresh.
Can I validate private keys?
No. Only public keys are supported here for safety.

Related validators

Format and size validation only; does not assess key security policies or ownership.