(转)git、github上使用ssh密钥

 一、git手册

地址:http://git-scm.com/book/zh/v2

 

二、git、github上使用ssh密钥

地址:

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

 

github上的学习地址:

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

 

三、同一台机器上使用过个public key管理管个项目

地址:

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

示例:

$ eval `ssh-agent -s`   注意,这里是反引号

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)

猜你喜欢

转载自forestqqqq.iteye.com/blog/2241380