ssh key generation win7 the stepped pit. . .

The following command to generate sshkey.

In the desktop space, right open Git Bash Here (terminal)

Input: SSH-keygen  -t rsa -C "[email protected]" ( [email protected] as your user name git on ) 

executed successfully, returns
Generating public / private rsa key pair.

 

Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa): 


Press the following two situations may arise after the carriage return one:
(1)
the Enter passphrase (empty for NO passphrase) :
this case just press enter to
(2)


this shows that you have set the memory address, we enter "y" to cover , the carriage return. . .

Return the following contents Enter twice, explained SSH key has been generated.


By looking at
cat ~ / .ssh / id_rsa.pub file content, you get to Key public
( Note: Content ssh-rsa behind this is your SSH keys, copy ssh keys when you want to copy all down, otherwise it will generate a cipher Key failed )


to SSH keys directly added to github account settings inside the SSH keys
and finally execute git clone command on it

* (if using the code cloud of words - ssh key after the copy generated by depot home "management" -> " the deployment of public key management "->" Add deploy a public key " ,
added generated public key is added to the warehouse after the addition, in a terminal.
SSH -T [email protected]For the first time need to make sure and add a host to a local SSH trusted list.
If the returned Hi XXX! You've successfully authenticated, but Gitee.com does not provide shell access.content, add prove successful.
After successfully added, you can use the SSH protocol to operate the warehouse. )
 





Please ignore the following 


ha ha ha ha ha ha ha ha ha ha ha ha! who am I? Am I doing?

Technically explore a chicken dishes, step by step. Come on! !

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/chenhaiwang/p/11356763.html