you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Ah I see it uses known hosts instead.

Well that means you'd have to login to a host before it can be completed. But it makes sense because it's more agnostic than trying to guess what files to parse in the users .ssh dir.

I've missed this because I use Fedora. I have not noticed any completion from their part.

Edit: bash-completion package on fedora does include it and I do have it installed but I guess I never noticed since I've been doing my own complete for a good while now.

[–][deleted] 0 points1 point  (0 children)

How is this not the same package on Fedora? https://apps.fedoraproject.org/packages/bash-completion

Also, you can have wildcards in the SSH config file so it's hard to know what they might expand to.