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

Bug 334877

Summary: SshConfigSessionFactory doesn't respect "Network Connections/SSH" preference kept in SSH_HOME_DEFAULT
Product: [Technology] EGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: CoreAssignee: Matthias Sohn <matthias.sohn>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: adietish, matthias.sohn, sop, Szymon.Brandys, twolf
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tomasz Zarna CLA 2011-01-20 07:16:55 EST
Eclipse has a special preference that keeps location of where known hosts and private keys are stored -- org.eclipse.jsch.internal.core.PreferenceInitializer.SSH_HOME_DEFAULT. org.eclipse.jgit.transport.SshConfigSessionFactory seems to ignore it and always use "$HOME/.ssh". This may do a difference for old Eclipse where the default on Windows was "$HOME/ssh" (no .). See also bug 294925.
Comment 1 Shawn Pearce CLA 2011-03-14 11:44:37 EDT
This is an EGit issue, EGit needs to setup the session factory correctly.
Comment 2 Thomas Wolf CLA 2017-08-28 07:04:46 EDT

*** This bug has been marked as a duplicate of bug 398085 ***