bash-completion icon indicating copy to clipboard operation
bash-completion copied to clipboard

Support KnownHostsCommand for known hosts completion

Open sebastianw opened this issue 5 months ago • 1 comments

Describe the feature/solution

Currrently the known hosts completion only supports known hosts file. When using KnownHostsCommand instead the completion has no hosts.

Maybe the completion could execute the command instead and get the information from there.

Maintenance (please complete the following information)

  • [ ] This is a request for new completion
  • [ ] Link to upstream project query about shipping the completion:

sebastianw avatar Aug 14 '25 11:08 sebastianw

UserKnownHostsFile and GlobalKnownHostsFile also seem to be the ssh_config options that affect listing hostnames.

akinomyoga avatar Aug 15 '25 02:08 akinomyoga