I am trying to synchronise my eclipse java project with my private git repository using EGit plug-in but I'm being unsuccessful. I have configured the remote origin as:
URI: [email protected]:username/project.git
Host: github.com
Repository path: username/project.git
Unfortunately, when I try to fetch, I get this error:
[email protected]:Maslor/wfmgr.git: ProxyHTTP: java.io.IOException: proxy error: >Forbidden [email protected]:Maslor/wfmgr.git: ProxyHTTP: java.io.IOException: proxy error: >Forbidden [email protected]:Maslor/wfmgr.git: ProxyHTTP: java.io.IOException: proxy error: >Forbidden
I am using a proxy, does that mean I have to configure EGit's proxy settings, if there are any? How can I do that?
Set up a GitHub SSH key. Add the public SSH key to a private repository's deploy keys. Store the private SSH key in Secret Manager. Submit a build that accesses the key from Secret Manager and uses it to access the private repository.
Changing a repository's visibilityOn GitHub.com, navigate to the main page of the repository. Under your repository name, click Settings. Under "Danger Zone", to the right of to "Change repository visibility", click Change visibility. Select a visibility.
Cloning from GitHub using HTTPS In GitHub, go to Settings --> Developer Settings --> Personal access tokens . Click Generate new token and assign the token a name. Grant the token privilege to the repo group. Copy the token to a secure location.
There is a pending issue: bug 349702 EGit tries to use HTTP proxy for SSH connect.
If you don't need the proxy when connecting to ssh, try and remove said proxy.
Or use a proxy bypass, as illustrated in this bug report.
If not, try an https url (provided you have a username/password associated to the remote repo server)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With