Skip to content

Conversation

ccanoe
Copy link

@ccanoe ccanoe commented Apr 18, 2025

I added support for glob patterns (* and ?) in the Include directive of the SSH config parser used by Eternal Terminal.

This enables the inclusion of multiple SSH config files using wildcard patterns, matching OpenSSH behavior for directives like:

Include ~/.ssh/config.d/*.conf
Include host_?.conf

Tested locally with various pattern combinations and confirmed correct parsing and connection behavior.

@ccanoe ccanoe force-pushed the ssh-config-include-glob branch from b19909f to fa2fa6c Compare April 18, 2025 16:24
@MisterTea
Copy link
Owner

@ccanoe can you rebase and let's see if the tests pass, thanks

@ccanoe ccanoe force-pushed the ssh-config-include-glob branch from fa2fa6c to bc08c60 Compare July 29, 2025 11:11
@ccanoe
Copy link
Author

ccanoe commented Jul 30, 2025

It seems glob.h is not available on Windows, which causes a build error. I’m implementing a cross-platform alternative using filesystem and std::regex

@ccanoe ccanoe force-pushed the ssh-config-include-glob branch from 5cb237e to 45402ae Compare August 7, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants