On 14/05/18 20:49, john doe wrote: > On 5/14/2018 8:09 AM, Richard Hector wrote: >> Hi all, >> >> I recently started using the Include directive in my .ssh/config file - >> so all the definitions are now in .ssh/config.d/. >> >> Now bash completion of hostnames no longer works. Is this expected >> behaviour? Anyone know how to fix it, without reverting to a single file? >> > > The only work around I can think of is: > > $ cat ~/.ssh/config > host x > include ~/.config.d/x > > $ cat ~/.ssh/config.d/x > hostname x.example.com >
Meaning all my hosts need to be specified in both places? Not really convenient. I don't actually use one file per host; I use one per 'group' - generally a client, or perhaps a vm or container host. I assume there's a way to modify the bash completion config, but I haven't looked at that. (Now I have, and it's ... going to require further study.) Richard
signature.asc
Description: OpenPGP digital signature