Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Password storage [OS X]
Password storage [OS X] [message #638365] Wed, 10 November 2010 22:13 Go to next message
Eclipse UserFriend
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 03:21 Go to previous messageGo to next message
Eclipse UserFriend
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 #638608 is a reply to message #638406] Thu, 11 November 2010 13:58 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 11 November 2010 20:38 Go to previous messageGo to next message
Eclipse UserFriend
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 06:25 Go to previous messageGo to next message
Eclipse UserFriend
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 12:30 Go to previous messageGo to next message
Eclipse UserFriend
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 02:38 Go to previous messageGo to next message
Eclipse UserFriend
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 04:07 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 01:27:12 EDT 2025

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

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

Back to the top