Web lists-archives.com

Re: ssh config "Include" and bash completion

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

John Doe