Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Password storage [OS X]
Password storage [OS X] [message #638365] Thu, 11 November 2010 03:13 Go to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Hi,

EGit keeps asking for my password in every context it might need it. When I enter it it works, but needless to say not ideal. Wink I'm wondering if maybe I have something messed in my secure storage, or do I need to configure something manually somewhere?

thanks,

Miles
Re: Password storage [OS X] [message #638406 is a reply to message #638365] Thu, 11 November 2010 08:21 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 274
Registered: July 2009
Senior Member
Hi,

What exactly is happening. How do you know EGit is asking?

What password is asked? The ssh-key passphrase?

When did it started? After you have cloned a ssh://... repo?

Ciao
Chris




Ciao
Chris
Re: Password storage [OS X] [message #638608 is a reply to message #638406] Thu, 11 November 2010 18:58 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Hi Chris,

This is using an Eclipse hosted ssh git, i.e.:

Remote Push URL git+ssh://[user]@git.eclipse.org/gitroot/[my repos]

I don't know if that's what you mean below or not. Anytime there is any interaction, I get a password dialog with my user name and (obviously) a blank password.


Chris wrote on Thu, 11 November 2010 03:21
Hi,

What exactly is happening. How do you know EGit is asking?

What password is asked? The ssh-key passphrase?

When did it started? After you have cloned a ssh://... repo?

Ciao
Chris




Re: Password storage [OS X] [message #638657 is a reply to message #638608] Fri, 12 November 2010 01:38 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
FWIW, I was able to work around this problem by just including my password in the URL. Or maybe that's what you're supposed to do in the first place..
Re: Password storage [OS X] [message #638728 is a reply to message #638608] Fri, 12 November 2010 11:25 Go to previous messageGo to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Am 11.11.2010 19:58, schrieb Miles Parker:
> Remote Push URL git+ssh://[user]@git.eclipse.org/gitroot/[my repos]

SSH needs a password all the time. I wonder why EGit doesn't persist it
in the secure storage, though.

However, most of the time people just setup SSH keys and use them all
the time. This requires entering of a pass phrase once and it's
remembered for the lifetime of the Eclipse instance (until next restart).

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: Password storage [OS X] [message #638834 is a reply to message #638728] Fri, 12 November 2010 17:30 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Gunnar Wagenknecht wrote on Fri, 12 November 2010 06:25
However, most of the time people just setup SSH keys and use them all
the time. This requires entering of a pass phrase once and it's
remembered for the lifetime of the Eclipse instance (until next restart).



Thanks Gunnar. Sorry to be dense, but are there docs on setting that up? I assume we set up the pass phrase using cmd-line tools?
Re: Password storage [OS X] [message #638918 is a reply to message #638834] Sat, 13 November 2010 07:38 Go to previous messageGo to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Am 12.11.2010 18:30, schrieb Miles Parker:
> Thanks Gunnar. Sorry to be dense, but are there docs on setting that up? I assume we set up the pass phrase using cmd-line tools?

Yes.
http://wiki.eclipse.org/EGit/User_Guide/Remote#Eclipse_SSH_C onfiguration

You then need to upload the public signature part of the key to the
remote SSH server once. There should be plenty of info available on this
subject (search keywords: OpenSSH key authorized_keys).

-Gunnar


--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: Password storage [OS X] [message #639360 is a reply to message #638918] Tue, 16 November 2010 09:07 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
You can also setup ssh keys from within Eclipse, see the user guide at http://wiki.eclipse.org/EGit/User_Guide#Eclipse_SSH_Configur ation
Previous Topic:Is reusing diff editor intentional?
Next Topic:Isn't there an "add" command line in jgit shell?
Goto Forum:
  


Current Time: Tue Mar 19 14:02:38 GMT 2024

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

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

Back to the top