denio7 / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

SSH problem on Windows #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installed Eclipse 3.4.1
2. Installed JGit from http://www.jgit.org/update-site/
3. Invoke File->Import, Git->"Git Repository"
4. Specify URI=git@[host]:[...]/[...].git; protocol=git+ssh;
5. Gives a erro "Cannot list the available branches. Reason:
git+ssh://git@[host]:[...]/[...].git: Auth fail"

What is the expected output? What do you see instead?
Branches of remote repository should be seen.

What version of the product are you using? On what operating system?
0.4.0 on Windows XP

Please provide any additional information below.
In fact, I could already resolve this problem, I copy the content of folder
C:\Documents and Settings\{user}\.ssh to C:\Documents and
Settings\{user}\ssh and reinit Eclipse.
Since I installed on Linux too and this copy was not needed, I belive the
problem is that the Windows plugin should redirect to .ssh by default,
instead of ssh.

Original issue reported on code.google.com by mobilo...@gmail.com on 12 Jul 2009 at 11:13

GoogleCodeExporter commented 8 years ago
We use Eclipse's own SSH2 settings. This is controlled by the SSH plugin in 
Eclipse
and not Egit. You may want to submit the request to the Eclipse Bugzilla.

Original comment by robin.ro...@gmail.com on 20 Jul 2009 at 12:12

GoogleCodeExporter commented 8 years ago
Could you at least provide a solution to be more user friendly?

Original comment by henkem...@gmail.com on 19 Oct 2009 at 3:43

GoogleCodeExporter commented 8 years ago
create a link to .ssh called ssh

vista - mklink /D ssh .ssh
xp - Junction Link Magic 1.0   

Original comment by henkem...@gmail.com on 19 Oct 2009 at 4:43

GoogleCodeExporter commented 8 years ago
Same problem on Mac OS X 10.5.8, Eclipse 3.5.2, but doing the symlink

ln -s ./ssh ssh does not fix the problem.

Original comment by loretopa...@gmail.com on 10 Dec 2009 at 12:09

GoogleCodeExporter commented 8 years ago
Unless this is a feature that has only just been added (I'm running Eclipse 
3.4.2.M20090211-1700), you should be able to configure Eclipse's SSH settings 
via 
General->Network Connections->SSH2. See the attachment.

Original comment by sharedo...@gmail.com on 5 Jan 2010 at 1:44

Attachments:

GoogleCodeExporter commented 8 years ago
On Windows XP comment 5 worked very nice, problem solved here.

Original comment by sovenewm...@gmail.com on 20 Jan 2010 at 2:39