簡體   English   中英

將Nitrous.io連接到Bitbucket Git SSH公鑰

[英]Connect Nitrous.io to Bitbucket Git SSH Public Key

我無法將我的Bitbucket git repos連接到Nitrous.io。 這是我得到的錯誤:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

起初我以為你必須讓你的計算機的公鑰在Nitrous和Bitbucket連接它們,但這不起作用。 我錯過了什么?

你所要做的就是:

轉到您的氮氣盒(IDE或終端),然后運行:

cat ~/.ssh/id_rsa.pub

這將顯示Nitrous SSH公鑰(不是您計算機的公鑰,而是該框的公鑰)。

轉到Bitbucket>我的帳戶> SSH密鑰並粘貼Nitrous密鑰。確保將其命名為Nitrous或類似名稱,以便您知道以后的密鑰。 然后你的回購將很好地連接。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM