Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334486 - remote resource configuration invalid for git repos
Summary: remote resource configuration invalid for git repos
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.10.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-16 18:34 EST by txomon CLA
Modified: 2011-01-31 10:25 EST (History)
2 users (show)

See Also:


Attachments
egit configuration bug demonstration (230.46 KB, image/png)
2011-01-17 23:07 EST, txomon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description txomon CLA 2011-01-16 18:34:23 EST
Hello,

Egit, when configuring a remote repo, I can't configure it to act as a usual git client. I think something is wrong when configuring ssh. Because, for example, doesn't allow you to select any private key, neither add just a git repo without any user. (An example for this, github)

This happens in version 10.1 (It doesn't appear in the version selector when I filled this formulary)
Comment 1 txomon CLA 2011-01-17 23:07:28 EST
Created attachment 186966 [details]
egit configuration bug demonstration
Comment 2 txomon CLA 2011-01-17 23:08:02 EST
I have re-read the bug I submited, and it sounds a little strange, so I will add some photos to illustrate:

1.- To make a reproduce workflow, you create a project, you create a bare repo (as in the user guide) and you try to fetch changes.

2.- When you fill all the information (protocol, host, user, repo-dir) you click in next (there might be also some problem with this because sometimes doesn't even connect to Internet) and It asks you the password for user git and the password of your keyfile.

3.- You enter the password, and it asks you once and again. 

I think that the password is interpreted aI have re-read the bug I submited, and it sounds a little strange, so I will add some photos to illustrate:

1.- To make a reproduce workflow, you create a project, you create a bare repo (as in the user guide) and you try to fetch changes.

2.- When you fill all the information (protocol, host, user, repo-dir) you click in next (there might be also some problem with this because sometimes doesn't even connect to Internet) and It asks you the password for user git and the password of your keyfile.

3.- You enter the password, and it asks you once and again. 

I think that the password is interpreted as if it would be git's.s if it would be git's.
Comment 3 Tomasz Zarna CLA 2011-01-31 06:15:06 EST
(In reply to comment #1)
> Created attachment 186966 [details]
> egit configuration bug demonstration

When working with github I guess you can leave the password from the first screenshot empty. The prompt on the second screenshot is for a *passphrase* to your private key. I admit, the label on the dialog can be confusing see bug 261741.
Comment 4 txomon CLA 2011-01-31 09:37:12 EST
Yes, I supposed that the password must be in blank... But which user are we supposed to put in the private key? Because I own a server, and I can not even use egit... Please, try it with any server and tell me what have you put there.
Comment 5 Tomasz Zarna CLA 2011-01-31 10:14:55 EST
Well, first you need to upload your public key to github, make sure your private key in $HOME/.ssh and you're all set. If the paired private key is passphrase protected you will see the prompt. Otherwise, there should be no prompt at all. Oh, maybe except for the one where you accept host fingerprint. As for setting up your own git repo over ssh I guess you will need to the public key to authorized_keys file first. More info here: http://help.github.com/linux-key-setup/.
Comment 6 txomon CLA 2011-01-31 10:25:49 EST
No, I meant configuration, because when you use ssh, you have to use
Autentication->User Autentication->Password and then, clicking next, you have to put
User and password... ¿private keys dont have user, do the?, and password I suppose the one of the private key...