This is my first demo project.
BurraKishoreKumar@DESKTOP-NV0EHRS MINGW64 /f/Git_Workspace/gitTest (master): $ ssh-keygen -t rsa -b 4096 -C "burrakishorekumar@gmail.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Burra Kishore Kumar/.ssh/id_rsa):
click on the enter buttonEnter passphrase (empty for no passphrase):
enter your PC/laptop pwdEnter same passphrase again:
enter your PC/laptop pwd
Your public key has been saved in /c/Users/Burra Kishore Kumar/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:GnuYry4G5VSJEHyAdXuAcN5PK0Db6tLF+U5LPqe5CMY burrakishorekumar@gmail.com
The key's randomart image is:
+---[RSA 4096]----+
|.=B=o. . |
|.+o=ooo |
| +.+.o |
| +o= . |
| .+= + S |
| +...o * |
|. E. O . |
| o .o*.=. |
| ..oX*. |
+----[SHA256]-----+
$ eval $(ssh-agent -s)
click on the enter button.Agent pid 1383
This is the Agent id.
$ ssh-add ~/.ssh/id_rsa
click on the enter button.Enter passphrase for /c/Users/Burra Kishore Kumar/.ssh/id_rsa:
enter the passwordIdentity added: /c/Users/Burra Kishore Kumar/.ssh/id_rsa (burrakishorekumar@gmail.com)
: we got this Identity.
- For Window Users:
$clip ~/.ssh/id_rsa.pub
- For Mac Users:
$ pbcopy < ~/.ssh/id_rsa.pub
- After entered the cmd then click on the enter button
- Open the GitHub account and go to
setting -> SSH and GPG keys
click on theNew SSH key
then paste(ctrl+v)
on the public key. - Click on the
Add SSH key
.