SSH-keygen RSA 4096-bit key generation¶
ssh-keygen is a standard utility for creating, managing, and converting authentication keys for ssh.^[600-developer-tools-git-github-sshkey.md] When using Git with GitHub, it is common practice to utilize SSH keys for secure authentication.^[600-developer-tools-git-github-sshkey.md]
Command Syntax¶
To generate a new 4096-bit RSA key pair, the following command is used:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Arguments Breakdown¶
-t rsa: Specifies the type of key to create, in this case, RSA.-b 4096: Specifies the number of bits in the key to create. A value of 4096 indicates a high-security key length.-C "your_email@example.com": Provides a comment (usually an email address) to identify the key, which is often embedded in the public key file.^[600-developer-tools-git-github-sshkey.md]
Related Concepts¶
- [[Git]]
- [[GitHub]]
- [[SSH]]
Sources¶
^[600-developer-tools-git-github-sshkey.md]