| Summary: | Unable to clone repository via ssh - egit won't give a chance to enter passphrase | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Andrew Gvozdev <angvoz.dev> |
| Component: | UI | Assignee: | Matthias Sohn <matthias.sohn> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | christian.campo, matthias.sohn |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Andrew Gvozdev
You dont reference what platform you are using (Windows, Mac etc).... I found your problem to happen when it is not really finding the public key location. So for windows that would be that the key is actually in c:/Users/xyz/.ssh/id_rsa.pub but the default in Eclipse (General/Network Connections/SSH2) defaults to c:/Users/xyz/ssh .... For some reason the default is "ssh" and not ".ssh". The problem I am getting is this error message "Cannot list the available branches. Reason: ssh://git@xxx.xxx.xx:22: Passphrase for c:/Users/campo/.ssh/id_rsa Some as you I never got a chance to actually enter a passphrase....(my problem is with the nightly build of 1.Aug though...so a pretty edgeeee version....) (In reply to comment #1) > You dont reference what platform you are using (Windows, Mac etc).... > > I found your problem to happen when it is not really finding the public key > location. So for windows that would be that the key is actually in > c:/Users/xyz/.ssh/id_rsa.pub but the default in Eclipse (General/Network > Connections/SSH2) defaults to c:/Users/xyz/ssh .... For some reason the default > is "ssh" and not ".ssh". AFAIK this wrong default on Windows for ssh key folder was fixed in Indigo not really we(In reply to comment #2) > (In reply to comment #1) > > You dont reference what platform you are using (Windows, Mac etc).... > > > > I found your problem to happen when it is not really finding the public key > > location. So for windows that would be that the key is actually in > > c:/Users/xyz/.ssh/id_rsa.pub but the default in Eclipse (General/Network > > Connections/SSH2) defaults to c:/Users/xyz/ssh .... For some reason the default > > is "ssh" and not ".ssh". > > AFAIK this wrong default on Windows for ssh key folder was fixed in Indigo No I don't think so….Just (2 secs ago) installed a fresh RCP Indigo build with an empty workspace and the default was still …../ssh and not /.ssh I have opened a separate bug for my problem, since I am not sure it has the same cause… https://bugs.eclipse.org/bugs/show_bug.cgi?id=353561. Also the problem with the passphrase that I am having only exist in the nightly build of 1.1. and not in the 1.0 version. (In reply to comment #1) > You dont reference what platform you are using (Windows, Mac etc).... > I found your problem to happen when it is not really finding the public key > location. So for windows that would be that the key is actually in > c:/Users/xyz/.ssh/id_rsa.pub but the default in Eclipse (General/Network > Connections/SSH2) defaults to c:/Users/xyz/ssh .... For some reason the default > is "ssh" and not ".ssh". This problem is unrelated to platform. I experience this problem on Linux, Win 7 and Win XP. On Windows I don't even use "ssh" folder, instead I specify my own location. As I said, that works for other workflows and the ssh key is working for this workflow if its passphrase was entered previously elsewhere. pushed fix for review http://egit.eclipse.org/r/#change,4244 |