![]() You may want to use an email address for the comment.Įnter passphrase (empty for no passphrase):Ī confirmation is displayed, including information about where your files are stored.Īdd the public SSH key to your GitLab account. Run ssh-keygen -t followed by the key type and an optional comment. If you do not have an existing SSH key pair, generate a new one: See if a file with one of the following formats exists: Algorithm Public key Private key ED25519 (preferred) id_ed25519.pub id_ed25519 ED25519_SK id_ed25519_sk.pub id_ed25519_sk ECDSA_SK id_ecdsa_sk.pub id_ecdsa_sk RSA (at least 2048-bit key size) id_rsa.pub id_rsa DSA (deprecated) id_dsa.pub id_dsa ECDSA id_ecdsa.pub id_ecdsa Generate an SSH key pair In the latter case, you need to generate an SSH key pair. You are either not in the home directory, or you haven’t used ssh before. See if you have an existing SSH key pairīefore you create a key pair, see if a key pair already exists. Review the man page for your installed ssh-keygen command for details. The default key size depends on your version of ssh-keygen. Recommends a key size of at least 2048 bits. If you use an RSA key, the US National Institute of Standards and Technology in RSA SSH keysĪvailable documentation suggests ED25519 is more secure than RSA. Must have OpenSSH 8.2 or later installed. To use ECDSA_SK SSH keys on GitLab, your local client and GitLab server OpenSSH 6.5 introduced ED25519 SSH keys in 2014, and they should be available on most Suggests that ED25519 keys are more secure and performant than RSA keys.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |