Skip to content
cosmodev ~/tools/ssh-keygen

SSH 키 생성기

Privacy & Security

브라우저에서 Ed25519 또는 RSA SSH 키 쌍을 생성합니다. 공개 키와 개인 키를 복사하거나 다운로드할 수 있습니다. 서버는 관여하지 않습니다.

공개 키 - 공유해도 되는 키
생성을 누르면 키 쌍이 만들어집니다.
개인 키 - 비밀로 유지하세요
키 쌍을 생성하면 개인 키가 표시돼요.

개인 키는 절대 공유하지 마세요. 브라우저에서 생성되며 서버는 관여하지 않아요.

(문서는 영어)

What it does

The SSH Key Generator creates Ed25519 or RSA (2048/4096-bit) SSH key pairs with your browser’s Web Crypto API - 100% client-side, no server involved. The public key is emitted as the standard one-line OpenSSH format (ssh-ed25519 AAAA... comment or ssh-rsa AAAA... comment), ready to paste into ~/.ssh/authorized_keys or a GitHub/GitLab deploy-keys field. The Ed25519 private key is encoded in the modern unencrypted -----BEGIN OPENSSH PRIVATE KEY----- format (the same one ssh-keygen writes since OpenSSH 7.8); the RSA private key is a PKCS#8 PEM. Each key also gets its SHA256 fingerprint (SHA256:...) - the OpenSSH standard - so you can confirm the key a server accepted is the one you generated.

How to use it

  1. Pick an algorithm: Ed25519 (recommended - small, fast, modern), RSA-2048, or RSA-4096 (a few seconds to generate).
  2. Optionally type a comment - conventionally user@host - that is appended to the public key line.
  3. Press Generate key pair.
  4. Copy or download the public key (id_ed25519.pub / id_rsa.pub) and the private key (id_ed25519 / id_rsa).
  5. Add the public key to ~/.ssh/authorized_keys on your server.

Examples

Ed25519 with a comment:

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBxT0... gab@cosmo
SHA256:q3MD1n+X8kPfzCt2VbY0R4hJm5N6sT7uW8xY9zA0bC1

RSA-2048 public key (exponent 65537, 2048-bit modulus):

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ... gab@cosmo

Private key formats:

-----BEGIN OPENSSH PRIVATE KEY-----      (Ed25519)
-----BEGIN PRIVATE KEY-----              (RSA, PKCS#8)

Good to know

  • Zero server contact: the key pair is generated by your browser’s Web Crypto API. Nothing is transmitted, logged, or stored - reload the page and the key is gone. Save anything you want to keep.
  • Why Ed25519? Keys are 32 bytes (vs 256+ for RSA), generation is instant, and signing/verification is faster. OpenSSH has supported it since 6.5 (2014). RSA-2048 remains a safe fallback for older servers; RSA-4096 only if a policy demands it.
  • Fingerprint: SHA256: + base64base64An encoding representing binary data as 64 safe ASCII characters, so it survives transport through text-only channels. It encodes — it does not encrypt. of the SHA-256 digest of the raw public key blob - exactly what ssh-keygen -lf prints. Compare it against the fingerprint your server or ssh-add -l reports.
  • No passphrase layer: these private keys are unencrypted (OpenSSH “cipher none” for Ed25519, standard PKCS#8 for RSA). Protect them with file permissions (chmod 600), or add a passphrase on your machine with ssh-keygen -p -f id_ed25519.
  • Private key secrecy: never paste the private key anywhere. Only the public key (*.pub line) is meant to be shared.
  • Related tools: Password Generator (pick a passphrase), File Encryptor (protect sensitive files at rest).
소스 코드14개 언어

100% 클라이언트 측 · 데이터는 브라우저 밖으로 나가지 않습니다. 도움이 되었나요? 팀원에게 공유해 보세요.