After installing git, git bash open
View over whether to generate keys, the user directory exists .ssh .ssh directory and directory files whether id_rsa and id_rea.pub
Excuting an order
git config --global user.name "git registered user name"
git config --global user.email "fill in the registration personal mailbox."
Secret key generation command
ssh-keygen -t rsa
After execution, the need Enter three times, you are prompted to enter a password. (No need to enter)
After the successful implementation will generate .ssh / id_rsa file and .ssh / id_rsa.pub file in the user directory
View private or public
cat ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub