eclipse使用ssh加密方式上傳到github常見錯誤
阿新 • • 發佈:2019-01-03
最近學了一下github,遇到了很多問題,總結一下,希望對大家有所幫助!
github連接出現Bad file number問題時:
下面這種情況就說明可以使用ssh連線github了
但在eclipse中卻會出現下面的錯誤
解決方式如下:
In theory it's nothing bad, you press the "Yes" button and you're done.
But to my surprise there was no "Yes" button :-) Only "OK" and "Details", both of them didn't result in the code being pushed to the sf.net. Restart (as suggested on some sites) didn't help.
- In Eclipse switch to "
Git Repositories
" perspective - Expand your project, add
new Remote repository
(I called it "sourceforge") - Paste the URI that sourceforge provides on your project website and the proper password (yes, this time it will work)
- Now Eclipse will ask you if you trust the RSA key fingerprint and will add it to
known_hosts
- "
Dry-Run
" (should work), "Save
"