[inside this square brackets give a name to the followed acc.] name = github_username email = github_emailaddress[any other name] name = github_username email = github_email[credential] helper = osxkeychain useHttpPath = true Multiple SSH keys for di…
由于最近电脑重装了Windows 8.1, 想用github维护一些代码.故不得不重新生成一下ssh key. 按https://help.github.com/articles/generating-ssh-keys向导一步一步往下走. 当到如下这一步时,产生了一个错误. $ ssh-add ~/.ssh/id_rsa Could not open a connection to your authentication agent. 解决方案: 执行如下命令即可: exec ssh-agent…
使用git clone命令从github上同步github上的代码库时,如果使用SSH链接(如我自己的esesgrid项目:git@github.com:hmilycc/esesgrid.git),而你的SSH key没有添加到github帐号设置中,系统会报下面的错误: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correc…