Bug 571729 - SSH config included from main config not respected
Summary: SSH config included from main config not respected
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 5.10   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-05 10:28 EST by Robert Munteanu CLA
Modified: 2021-03-05 10:36 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Munteanu CLA 2021-03-05 10:28:00 EST
(Actually running 5.11.0.202103031150-rc1)

I have a SSH config that in turn points to other configurations

$ cat $HOME/.ssh/config

Include config.d/*

EGit (JGit?) does not follow the configuration and therefore the SSH host configuration is not correctly applied, leading to my being unable to make any remote calls to my Git repo from within Eclipse.
Comment 1 Thomas Wolf CLA 2021-03-05 10:36:36 EST
"Include" is not implemented. That's mentioned at https://wiki.eclipse.org/EGit/FAQ#SSH_config .

It's certainly something that could be improved. Doing do is not super trivial, though; the existing ssh config file handling caches data; so to properly refresh that cache, it would then also have to check whether the included files have changed.