如何配置Eclipse EGit以使用自定义代理设置? [英] How to configure Eclipse EGit to use custom proxy settings?

查看:206
本文介绍了如何配置Eclipse EGit以使用自定义代理设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在企业防火墙之后,所以大部分时间(例如Eclipse更新)我都想通过代理进行。但是,我从Git中获得的服务器都是内部的。我现在必须在每次切换时更改我的代理设置,但我想设置它以便EGit使用直接连接。



我的猜测是只是不是EGit的功能,但任何人都可以想到一个解决方法吗?

谢谢!

解决方案

EGit应遵循常规>网络配置设置。

如果您将网络模式设置为手动,您可以:


  • 设置您的代理(使用身份验证)
  • 在no_proxy中添加您想要的网站(以便 not 试试联系代理)



这似乎也适用于ssh协议,如 bug 349702


I'm behind a corporate firewall, so most of the time (e.g. Eclipse updates) I want to be going through a proxy. However, the servers I pull from in Git are all internal. I currently have to change my proxy settings every time I switch, but I'd like to set it up so that EGit uses a direct connection.

My guess is that it's just not a feature EGit has, but can anyone think of a workaround maybe?

Thanks!

解决方案

EGit should follow the General > Network configuration settings.
If you set that Network mode to "Manual", you can:

  • set your proxy (with authentication)
  • add sites you want in "no_proxy" (in order to not try to contact a proxy)

This seems also valid for ssh protocol, as illustrated by bug 349702.

这篇关于如何配置Eclipse EGit以使用自定义代理设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆