[GTALUG] SSH Host tab completion
Sergio Durigan Junior
sergiodj at sergiodj.net
Thu May 30 21:47:39 EDT 2019
On Thursday, May 30 2019, Daniel Wayne Armstrong via talk wrote:
> Hello all ... I am currently running Debian Buster and Bash shell. I have a
> few Host aliases defined in my ~/.ssh/config. Example: Host test-server. So
> when, in console, I type ...
>
> $ ssh tes
>
> ... and hit Tab, then auto-completion fills out ...
>
> $ ssh test-server
>
> When I try to do the same thing in a terminal (urxvt), tab completion does
> *not* work. The complete host alias has to be entered.
>
> *But* tab completion for ssh host aliases *does* work if entered within
> tmux running in the terminal.
>
> Any idea how I can get tab completion working for ssh host aliases in the
> terminal?
What's the shell you're using on urxvt? If it's not Bash, then
bash-completion won't load.
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
More information about the talk
mailing list