Generate SSH Keys to setup GitHub in Programming Environment - Tutorial # 01
All details are available here
OR
Procedure:
Open Git Bash.
Paste the text below, substituting in your GitHub email address.
$ ssh-keygen -t ed25519 -C "your_email@example.com"- This creates a new ssh key, using the provided email as a label.
> Generating public/private ed25519 key pair. When you're prompted to "Enter a file in which to save the key," press Enter. This accepts the default file location.
> Enter a file in which to save the key (/c/Users/you/.ssh/id_ed25519):[Press enter]At the prompt, type a secure passphrase.
> Enter passphrase (empty for no passphrase): [Type a passphrase] > Enter same passphrase again: [Type passphrase again]Add SSH KEYS:# start the ssh-agent in the background $ eval `ssh-agent -s` > Agent pid 59566$ ssh-add ~/.ssh/id_ed25519
cat < ~/.ssh/id_ed25519.pub
- This creates a new ssh key, using the provided email as a label.
Comments
Post a Comment