[GTALUG] SSH Host tab completion

Daniel Wayne Armstrong daniel at circuidipity.com
Fri May 31 11:02:28 EDT 2019


Resolved the issue by adding ...

source /etc/profile.d/bash_completion.sh

... to my ~/.bashrc, though I still don't know why it would auto-complete
OK inside tmux.

On Thu, May 30, 2019 at 4:24 PM Daniel Wayne Armstrong <
daniel at circuidipity.com> 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?
>
> --
> Daniel Wayne Armstrong  https://www.circuidipity.com
> <http://www.circuidipity.com>
> Accomplish the great task by a series of small acts. -- Lao Tzu
>
>

-- 
Daniel Wayne Armstrong  https://www.circuidipity.com
<http://www.circuidipity.com>
Accomplish the great task by a series of small acts. -- Lao Tzu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/talk/attachments/20190531/d8bb9268/attachment.html>


More information about the talk mailing list