2011-08-16 23 views
0

我正在使用珠寶商發佈寶石。我在釋放寶石github上的點,這種情況正在發生:爲什麼我無法釋放我的寶石給github?

$ sudo rake release 
Password: 
(in /Users/***/code/testgem) 
Pushing master to origin 
rake aborted! 
git push "origin" "master" 2>&1:Permission denied (publickey). 
fatal: The remote end hung up unexpectedly 

我已經驗證了我的SSH密鑰連接到正確的GitHub:

$ ssh -vT [email protected] 
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 
[lots of stuff] 

Hi *****! You've successfully authenticated, but GitHub does not provide shell access. 
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 
debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0 
debug1: channel 0: free: client-session, nchannels 1 
Transferred: sent 2384, received 2888 bytes, in 0.1 seconds 
Bytes per second: sent 37829.8, received 45827.4 
debug1: Exit status 1 

回答

0

我我才解決了這個問題d完成輸入問題:)

「耙釋放」不適用於sudo。