GENERATING SSH KEY
Verify if OpenSSH Client is Enabled
Settings >> apps & Features >> Optional Features >> check for OpenSSH Client
Open command promt and Run as Adminstrator
Type : ssh-keygen
Press Enter and it will ask for phrase , hit Enter to skip the option.
The system will generate the key pair, and display the key fingerprint and a randomart image.
Navigate to : Local disc( C )>> Users >> your user account >> .ssh >> id_rsa ( private key) , id_rsa.pub (Public key ) You should see two files. The identification is saved in the id_rsa file and the public key is labeled as id_rsa.pub.
id_rsa.pub is your public SSH key . ( Open id_rsa.pub with notepad and copy the key).
NOTE : If Id_rsa.pub is not visible then check whether your extensions is on
- There wiill be four tabs name on the top of file explorer: File , Home , Share , View
- Select view and tick file name extensions
- Now id_rsa.pub will visible
- Right click on it and select Open with >> Notepad & copy the key
Add SSH key to git server.
Login to git.selfmade.ninja https://git.selfmade.ninja/-/profile/preferences
On the left side of the panel , Select SSH Keys.
On the dialog box , Paste the generated SSH Key ( NOTE : Use only public key for git access (ida_rsa.pub) )
Leave the expiry dialog box empty.
Select ADD Key to finish the process.
Thank you nanbargalee
@Ramesh267
@sibidharan