Create an SSH key pair without a terminal. The public key is produced as a standard authorized_keys line (ssh-ed25519 AAAA… comment or ssh-rsa …), and the private key is written in the same openssh-key-v1 format that ssh-keygen produces, so it works with ssh, git and agents directly. RSA and Ed25519 keys can alternatively be exported as PKCS#8 PEM.

The SHA256 fingerprint is shown exactly as ssh-keygen -l prints it, which makes it easy to match against what GitHub, GitLab or a server reports.

  • Ed25519 is the modern default and needs a browser whose Web Crypto supports it (current Chrome, Firefox and Safari do). If yours does not, the tool says so; choose RSA or use ssh-keygen -t ed25519 locally.
  • RSA 3072 or 4096 bits is the fallback for older systems.

Keys are generated locally and the private key is not encrypted. Save it as ~/.ssh/id_ed25519 with chmod 600, then add a passphrase with ssh-keygen -p -f ~/.ssh/id_ed25519. For keys that guard production systems, generating them with ssh-keygen on the machine that will use them is still the best practice.