eclipse使用ssh加密方式上传到github常见错误

最近学了一下github,遇到了很多问题,总结一下,希望对大家有所帮助!

github连接出现Bad file number问题时:

需要在.ssh目录下增加config配置文件,具体详情请看:http://rangercyh.blog.51cto.com/1444712/749490(参考文章)

下面这种情况就说明可以使用ssh连接github了

其他错误:由于SSH配置文件的不匹配,导致的Permission denied (publickey)及其解决方法(参考文章):http://blog.itpub.net/25851087/viewspace-1262468/

 

 

但在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.

  1. In Eclipse switch to "Git Repositories" perspective
  2. Expand your project, add new Remote repository (I called it "sourceforge")
  3. Paste the URI that sourceforge provides on your project website and the proper password (yes, this time it will work)
  4. Now Eclipse will ask you if you trust the RSA key fingerprint and will add it to known_hosts file
  5. "Dry-Run" (should work), "Save"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值