git key generation

First, install Git generation and key
1. Download the Git software: http: //msysgit.github.io/

2. Open the desktop right Git Bash Here git command line;

3.ssh-keygen -t rsa -C "[email protected]" (full press Enter);

4.cd ~ / .ssh (third step must be performed to generate ssh, there will be no folder);

5.cat id_rsa.pub on the command line to open the file, it will directly output key;

6. Copy, open github, some of their own avatar >> settings >> SSH and GPG keys >> New SSH key 

  1. titile just write. Paste the contents key step in the sixth; completed.
    !

Guess you like

Origin www.cnblogs.com/monkay/p/10995936.html