2013-04-08 112 views
0

我想從development branch安裝typerex。但我克隆它有如下困難:無法克隆開發分支

~:~$ git clone [email protected]:OCamlPro/typerex.git 
Cloning into 'typerex'... 
The authenticity of host 'github.com (204.232.175.90)' can't be established. 
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. 
Are you sure you want to continue connecting (yes/no)? yes 
Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts. 
Permission denied (publickey). 
fatal: The remote end hung up unexpectedly 

有誰知道該怎麼辦?

+1

您是否設置了SSH密鑰?看來問題是:**權限被拒絕(publickey)** – juanchopx2 2013-04-08 14:22:52

+0

我不知道它是什麼... – SoftTimur 2013-04-08 14:27:10

+1

[閱讀此鏈接](https://help.github.com/articles/generating- ssh-keys)它會幫助你生成你的SSH密鑰並用GitHub進行設置。 – juanchopx2 2013-04-08 14:34:43

回答

4

您正在嘗試訪問沒有有效SSH密鑰的SSH地址。嘗試克隆只讀地址。它不需要任何種類的認證。

git clone git://github.com/OCamlPro/typerex.git