Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Egit with remote Git server(can't push or fetch)
Egit with remote Git server [message #663697] Wed, 06 April 2011 09:00 Go to next message
Maikel is currently offline MaikelFriend
Messages: 5
Registered: April 2011
Junior Member
Hi guys

I got a problem with using Egit. I got a remote git server, I can reach it with git extenions, but I can't reach it with Egit.

In every tutorial they describe how to use Egit with github. But I don't use github, I want to use my own server.

Does Egit also creates the git folder on my git server when i push it and it isn't there?

Kind regards

Maikel
Re: Egit with remote Git server [message #663722 is a reply to message #663697] Wed, 06 April 2011 10:33 Go to previous messageGo to next message
Manuel Doninger is currently offline Manuel DoningerFriend
Messages: 119
Registered: October 2010
Senior Member
Which protocol do you use to access your server?
Re: Egit with remote Git server [message #663727 is a reply to message #663722] Wed, 06 April 2011 10:49 Go to previous messageGo to next message
Maikel is currently offline MaikelFriend
Messages: 5
Registered: April 2011
Junior Member
I use ssh
Re: Egit with remote Git server [message #663823 is a reply to message #663697] Wed, 06 April 2011 15:06 Go to previous messageGo to next message
Manuel Doninger is currently offline Manuel DoningerFriend
Messages: 119
Registered: October 2010
Senior Member
Do you have configured Eclipse correctly to use your SSH key? As default Eclipse looks for the SSH keys in the folder %userhome%\ssh, whereas MSysGit and GitExtensions (if you use OpenSSH as SSH client) look in %userhome%\.ssh
Re: Egit with remote Git server [message #663994 is a reply to message #663823] Thu, 07 April 2011 06:37 Go to previous messageGo to next message
Maikel is currently offline MaikelFriend
Messages: 5
Registered: April 2011
Junior Member
Everything is configured correctly. My public key and private key are in the %homefolder%\ssh directory.

But when I try to push it gives this error:
ssh://git@172.16.100.101/repositories/EgitTest.git: fatal: '/repositories/EgitTest.git' does not appear to be a git repository

OK, the repository isn't there, but normally it would create it?

Even if I change it to a real git repository it gives that error.

ssh://git@172.16.100.101/repositories/EgitTest.git
Is my URI, my git repo's are filed under /home/git/repositories/

So normally this would be correct. If I change it to
ssh://git@172.16.100.101/EgitTest.git

it still gives that error, and I don't know what I'm doing wrong, I really want this plugin to work, because all the other plugins for development software I user are still in development and not working correctly


Re: Egit with remote Git server [message #664005 is a reply to message #663994] Thu, 07 April 2011 07:44 Go to previous messageGo to next message
Maikel is currently offline MaikelFriend
Messages: 5
Registered: April 2011
Junior Member
Ok, it works, the only thing that it doesn't do is create a git repository on the server.

Is it possible to do that with Egit? Or does the git repo needs to exist on the server?

EDIT: I converted my putty ssh key to openssh format, so Eclipse can use it, but when I try to fetch, it gives me the next message
git@server:EgitTest.git: Auth fail

[Updated on: Thu, 07 April 2011 08:24]

Report message to a moderator

Re: Egit with remote Git server [message #664033 is a reply to message #664005] Thu, 07 April 2011 09:04 Go to previous message
Maikel is currently offline MaikelFriend
Messages: 5
Registered: April 2011
Junior Member
K, the changing of the ssh key works.

Now I'm only searching for a method to let eGit create a repository on the remote server. I hope this is possible

[Updated on: Thu, 07 April 2011 09:06]

Report message to a moderator

Previous Topic:Using EGit with Assembla.com part 2
Next Topic:Java Heap Space Error while fetch
Goto Forum:
  


Current Time: Sun Oct 17 01:36:16 GMT 2021

Powered by FUDForum. Page generated in 0.01634 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top