2012-07-18 144 views
0

我無法改變我推到一個GitHub的倉庫,並得到以下錯誤消息 -無法推代碼到GitHub的倉庫

D:\Research\scribe-java>git push [email protected]:fernandezpablo85/scribe-java.git master 
The authenticity of host 'github.com (207.97.227.239)' can't be established. 
RSA key fingerprint is -----. 
Are you sure you want to continue connecting (yes/no)? yes 
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts. 
Permission denied (publickey). 
fatal: The remote end hung up unexpectedly 
D:\Research\scribe-java>git push [email protected]:fernandezpablo85/scribe-java.git master 
Permission denied (publickey). 
fatal: The remote end hung up unexpectedly 

任何人可以幫助我理解我在做什麼錯在這裏。 ..?

回答

0

也許你已經創建了超級用戶權限的關鍵,現在你不能使用它,因爲你是普通用戶。

0

首先使用

$的ssh - 凱基-t RSA

關鍵創建SSH密鑰在的〜/ .ssh/id_rsa.pub 被創建複製鍵添加到github上。可能會起作用