Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 517774

Summary: egit SSH path set wrongly. Gil clone fails.
Product: [Eclipse Project] JDT Reporter: Shibaji Chandra <shibaji.chandra>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard: stalebug

Description Shibaji Chandra CLA 2017-06-03 17:37:32 EDT
Eclipse version: Neon 4.6.3
JDK 1.8
Windows 10

I am able to Git clone from my Git Bash in Windows through SSH. However when I am trying to clone a repository from egit in Eclipse it's failing. Error log clearly shows egit is trying to find the rsa private key in wrong path.

Error Message:
ssh://gcdna1@localhost:29418/FirstProject: java.io.FileNotFoundException: C:\Users\<userid>\c\Users\<userid>\.ssh\id_rsa (The system cannot find the path specified)

The path should be 
C:\Users\<userid>\.ssh\id_rsa

Please help in how I can set the path correctly.

PS: I have already checked the SSH2 setup and path C:\Users\<userid>\.ssh\ is maintained only there.

Also user environment variable HOME is set to %USERPROFILE%
Comment 1 Eclipse Genie CLA 2020-02-18 13:33:20 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.