(transfer) use ssh keys on git and github

 1. git manual

Address: http://git-scm.com/book/zh/v2

 

2. Use ssh keys on git and github

address:

http://blog.csdn.net/wfdtxz/article/details/8678982

 

Learning address on github:

https://help.github.com/articles/generating-ssh-keys/ 

 

3. A public key has been used to manage a project on the same machine

address:

http://blog.sina.com.cn/s/blog_72827fb101018wuj.html

 

Example:

$ eval `ssh-agent -s`   Note, here are backticks

Agent pid 47376

 

 

$ ssh-add ~/.ssh/id_rsa

Identity added: /c/Users/lenovo/.ssh/id_rsa (/c/Users/lenovo/.ssh/id_rsa)

 

 

$ ssh-add ~/.ssh/sshdemo

Identity added: /c/Users/lenovo/.ssh/sshdemo (/c/Users/lenovo/.ssh/sshdemo)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326299196&siteId=291194637
Recommended