[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh, where do the host come from



On Fri, 16 May 2025 14:56:41 +0000
fxkl47BF@protonmail.com wrote:

> when i type ssh and two tabs i get a list of host
> numeric and names
> where do they come from
> 

If I type 'ssh<tab><tab>' I get proposed tab completions of various
programs, all starting with ssh.

If I type 'ssh<space><tab><tab>' I get proposed IP addresses and host
names as arguments to ssh. The seem to be hosts on my local network,
hosts I have in ~/.ssh/config>, and some I don't recognize.

All these are provided by bash tab completion, provided bu the package
bash-completion, and you may search on that phrase for more
information. 

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: