git clone --early EOF

來源:互聯網
上載者:User

標籤:地址   環境   bin   could   entity   target   rsa   產生   rmi   

出現這個問題可能需要重新檢查以下方面:

1. Android studio Git 的安裝地址:  ..../Git/cmd/git.exe

記得在環境變數 --Path 中進行配置: ,..../Git/cmd

2. ssh 串連 github

進入 git 的安裝目錄下右鍵運行 Git_Bash,然後按照下面部落格進行操作

http://blog.csdn.net/binyao02123202/article/details/20130891

3. 在輸入 $ ssh -T [email protected] 命令測試 SSH KEY 時,如果出現以下錯誤:

no such identity: /c/Users/Administrator.PC-201608030926/.ssh/id_rsa.github:

需要在 C:\Users\Administrator.PC-201608030926\.ssh 目錄下添加 config 檔案(如果存在的話直接修改)

在 config 檔案中添加以下內容(id_rsa 為所產生的 SSH Key 檔案名稱):

  Host github.com www.github.com      IdentityFile ~/.ssh/id_rsa  Host git.company.com      IdentityFile ~/.ssh/id_rsa

出現 Permission denied (publickey),是由於多 SSH Key 導致的,也可以通過以上方法設定

4. 將 SSH Key 添加到 github 上

http://blog.csdn.net/vipzjyno1/article/details/22098621

5. ssh-add ~/.ssh/rsa 時報錯:Could not open a connection to your authentication agent

先執行  eval `ssh-agent`  (是~鍵上的那個`) 再執行 ssh-add ~/.ssh/rsa成功
ssh-add -l 就有新加的rsa了

 

git clone --early EOF

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.