<div dir="ltr"><div>I've had a very similar problem with ssh host tab completion - the primary difference seemed to be that it worked on Mac and not on Linux.  (I never use console these days, so I couldn't tell you about that.)  I solved it as you did - by a more specific call to the completion file(s) in by bashrc.  Although I think I sourced the one specifically for SSH hosts.<br></div><div><br></div><div>I can't remember if it was here (ie. TLUG) or somewhere else that I saw a conversation about the incredibly tortuous routing of Bash startup.  It was months or even a couple years ago.  Essentially, someone had attempted to map out the decision process behind what files got parsed when Bash started depending on all the little check-boxes: is it interactive, is it console, is it login, dozens of others.  The flow chart created was enough to make a hardened system administrator cry.  So the direct route - add what you want to the bashrc - is definitely preferred to trying to actually debug what happened.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 31 May 2019 at 11:02, Daniel Wayne Armstrong via talk <<a href="mailto:talk@gtalug.org">talk@gtalug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Resolved the issue by adding ...</div><div><br></div><div>source /etc/profile.d/bash_completion.sh</div><div><br></div><div>... to my ~/.bashrc, though I still don't know why it would auto-complete OK inside tmux.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 30, 2019 at 4:24 PM Daniel Wayne Armstrong <<a href="mailto:daniel@circuidipity.com" target="_blank">daniel@circuidipity.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>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 ...</div><div><br></div><div>$ ssh tes</div><div><br></div><div>... and hit Tab, then auto-completion fills out ...<br></div><div><br></div><div>$ ssh test-server</div><div><br></div><div>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.</div><div><br></div><div>*But* tab completion for ssh host aliases *does* work if entered within tmux running in the terminal.</div><div><br></div><div>Any idea how I can get tab completion working for ssh host aliases in the terminal? <br clear="all"></div><br>-- <br><div dir="ltr" class="gmail-m_1513449029356365154gmail-m_-8971138536025297339gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Daniel Wayne Armstrong  <a href="http://www.circuidipity.com" target="_blank">https://www.circuidipity.com</a><br>Accomplish the great task by a series of small acts. -- Lao Tzu<br><span><br></span></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_1513449029356365154gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Daniel Wayne Armstrong  <a href="http://www.circuidipity.com" target="_blank">https://www.circuidipity.com</a><br>Accomplish the great task by a series of small acts. -- Lao Tzu<br><span><br></span></div></div></div></div></div></div></div></div></div></div>
---<br>
Talk Mailing List<br>
<a href="mailto:talk@gtalug.org" target="_blank">talk@gtalug.org</a><br>
<a href="https://gtalug.org/mailman/listinfo/talk" rel="noreferrer" target="_blank">https://gtalug.org/mailman/listinfo/talk</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Giles<br><a href="https://www.gilesorr.com/" target="_blank">https://www.gilesorr.com/</a><br><a href="mailto:gilesorr@gmail.com" target="_blank">gilesorr@gmail.com</a></div></div>