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
how to generate ssh key for git
Step1: in git bash type this
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
# press enter to skip the prompt or enter the details if you like for
# 1. > Enter a file in which to save the key (/c/Users/you/.ssh/id_algorithm):[Press enter]
# 2. > Enter passphrase (empty for no passphrase): [Type a passphrase]
# 3. > Enter same passphrase again: [Type passphrase again]
Step2: start the ssh-agent in the background
$ eval $(ssh-agent -s)
Step3: Add your SSH private key to the ssh-agent.
$ ssh-add ~/.ssh/id_ed25519
Step4: Generate public key
$ cat ~/.ssh/id_ed25519.pub
Step5: Copy and Paste the generate key to your github SSH key
Done!
add ssh key to github
### ADD SSH key to Github ###
# Check if you have a key?
ssh-add -l
# If not? then follow steps to generate key
ssh-keygen -t rsa -b 4096 -C your__gmail
# Now for copy the key use xclip tool or just goto file and copy
sudo apt install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
# Now goto github.com and goto settings
# select SSH and GPG keys
# New SSH key
# Enter "your__choice__name" in title field...
# Paste your public key into the Key field
# Click Add SSH key
DONE!!!
how to create ssh key for github
$ eval "$(ssh-agent -s)"
> Agent pid 59566
generate ssh key github
$ ssh-keygen -t ed25519-sk -C "[email protected]"
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