Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Status of SSH Agent support on Linux

On 07.03.21 10:37 , Gunnar Wagenknecht wrote:
I am currently developing on Ubuntu and noticed that EGit is not working with SSH Agent.

Correct. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=541274

It's asking for the key passphrase on every single repository interaction, i.e. it's not even persisting the key during the lifetime of an Eclipse session.

It should not do that. Indeed it should cache the key pair for as long as Eclipse runs. Moreover it should give you the possibility to store the passphrase in the Eclipse secure store, and fetch it from there.

Wasn't there some development effort to get it working with Apache Mina? I think it works because I never get any SSH passphrase prompts on Mac. :)

No, we never tried to get Apache Tomcat APR into Orbit; we never tried integrating it in our p2 repository build to get the correct (platform-dependent) bundles in and the correct ones being installed when you install EGit in an Eclipse, and we never checked whether it might need additional work in org.eclipse.jgit.ssh.apache.

If it works on Mac you probably have the passphrase stored in the Eclipse secure store. There is no ssh-agent (or Pageant) integration
for Apache MINA sshd in JGit.

Cheers,

  Thomas


Back to the top