ssh github generate key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
ssh github generate key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
add ssh key to github
$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist
Add your SSH private key to the ssh-agent. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.
$ cat ~/.ssh/id_rsa.pub
github how to add ssh key
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
how to create ssh key for github
> Generating public/private ed25519 key pair.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us