Git hosts and SSH servers want a public line they can drop into authorized keys, and a private file in OpenSSH form. This page generates Ed25519, the opening choice, or RSA at 2048, 3072, or 4096, and writes the public key as a single ssh-ed25519 or ssh-rsa line plus a private key block that begins with -----BEGIN OPENSSH PRIVATE KEY-----. Ed25519 public keys start with ssh-ed25519 and are short. That is the one to put on a Git host unless the host has not caught up.
The private key is not wrapped in a passphrase. ssh will accept it, and so will anyone else who gets the file. Put it in ~/.ssh with permissions the SSH client considers private, and add a passphrase in ssh-keygen on your machine if you want one. This page will not remember the key. Generating a second pair does not revoke the first. Remove the old public line from the host if the first private key might have leaked.
A test public line from a sample run is not yours. Generate a pair on the machine you will use, or generate it here and move the private file once, carefully.
Algorithm Ed25519.
A public key on one line beginning ssh-ed25519, and a private key block beginning -----BEGIN OPENSSH PRIVATE KEY-----. Paste the public line into the host. Keep the private block off the host.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
On the server or the Git host, as one line. The private key stays on the machine that will connect. Uploading the private key to the host defeats the point.
The file is unencrypted OpenSSH. Add a passphrase locally if the disk might be copied. This page only generates the pair.
Ed25519 for anything that accepts it. RSA when a device's documentation still says ssh-rsa and will not take the newer type.
No. Save the private key yourself. A reload generates a different pair, and the public key you already installed will not match.
No. Any key that has been displayed is public. Generate one for yourself.