2015-02-15发表2015-02-15更新团队协作 / git几秒读完 (大约94个字)linux中如何通过ssh连接github生成新的ssh,放置在/data/.ssh/目录下12ssh-keygen -t rsa -C "821192673@qq.com"#为邮箱地址 将生成的私钥加入ssh-agent中123#判断ssh-agent是否启动eval "$(ssh-agent -s)"ssh-add /data/.ssh/id_rsa阅读更多