Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347575 - Cannot fetch or push changes via SSH
Summary: Cannot fetch or push changes via SSH
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-29 07:15 EDT by Dariusz Luksza CLA
Modified: 2011-06-02 18:25 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dariusz Luksza CLA 2011-05-29 07:15:10 EDT
I cannot fetch or push changes via ssh. After launching push/fetch action I got an error in 'Error log':

org.eclipse.jgit.errors.UnsupportedCredentialItem: ssh://dluksza@egit.eclipse.org:29418: Passphrase for /home/lock/.ssh/id_rsa
at org.eclipse.egit.ui.credentials.EGitCredentialsProvider.get(EGitCredentialsProvider.java:62)
at org.eclipse.jgit.transport.CredentialsProviderUserInfo.promptPassphrase(CredentialsProviderUserInfo.java:98)
at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:120)
at com.jcraft.jsch.Session.connect(Session.java:419)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:128)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:125)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:128)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:99)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.run(FetchOperationUI.java:117)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Dariusz Luksza CLA 2011-05-29 19:24:53 EDT
As far as I investigate this issue it appears after change #2725. Before this change I was always asked for a passphase for my private key, I never store it in eclipse and now I can't enter it because EGit doesn't ask about it.

[1] http://egit.eclipse.org/r/#change,2725
Comment 2 Dariusz Luksza CLA 2011-05-29 19:44:27 EDT
I've pushed change[1] that should fix this issue.

[1] http://egit.eclipse.org/r/3574
Comment 3 Matthias Sohn CLA 2011-06-02 18:25:53 EDT
merged as 7bf48410a1296afcaf1747019bdfc6322d053996