Answers for "generate github ssh key"

23

ssh github generate key

$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Posted by: Guest on April-15-2020
5

add ssh key to github

$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist
Posted by: Guest on April-12-2020
9

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!
Posted by: Guest on July-15-2021
6

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!!!
Posted by: Guest on August-11-2020
1

how to create ssh key for github

$ eval "$(ssh-agent -s)"
> Agent pid 59566
Posted by: Guest on June-18-2020
1

create ssh key github

$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language