Between local github repository and is transmitted through SSH encryption, so you need to add the SSH Key to authenticate the machine in the first to github.
1. Open a command window on the desktop git
2, the input "SSH-keygen -t RSA -C [email protected] "
Confirm the default login user's home directory is generated in the current win7
3, configure global name and email
git config--global user.name "your_account"
git config –globaluser.email [email protected]
4, 3 times Enter, the default setting blank password, create the key
5, view the generated public key: cat ~ / .ssh / id_rsa.pub
6, copy the contents to add a new github in SSH Key
7, there is no test successfully added:
A warning
I ask you whether to add an IP host 192.30.255.112 persistence to known hosts file?
To C: \ Windows \ System32 \ add github under the host IP drivers \ etc directory
Re-test: