How to configure Eclipse EGit to use custom proxy settings?

I am behind a corporate firewall, so most of the time (for example, Eclipse updates) I want to go through a proxy. However, the servers that I pull from Git are internal. Currently, I have to change my proxy settings every time I switch, but I would like to configure it so that EGit uses a direct connection.

I guess this is just not an EGit feature, but can anyone think of a workaround?

Thanks!

+4
source share
2 answers

EGit should follow the General> Network settings.
If you set this network mode to Manual, you can:

  • set your proxy (with authentication)
  • add the sites you want in "no_proxy" (so as not to try to contact the proxy server)

This is also true for the ssh protocol, as error 349702 is shown.

+7
source

For me, the VonC answer didn't work (Eclipse Neon.2). I needed to enter my proxy server in the settings under:

Window → Settings

and then General → Network Connections

Also note that some proxies block the git: // and ssh: // protocols. If you encounter problems, try using the https: // or http: // protocol.

0
source

All Articles