• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Michele Neylon :: Pensieri

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

Bash Autocompletion on Breezy

October 9, 2005 by Michele Neylon Leave a Comment

Bash autocompletion is very handy especially if you are using ssh to login to the same hosts over and over again.

Unfortunately breezy includes a minor change to the ssh client configuration that will cause this to break.

If you look in a standard known_hosts file in your ssh directory you should see a human readable part including the hostname and IP followed by the usual mumbo jumbo.
In the breezy standard setup the contents are all hashed, so you can’t make out any of the contents.
The breezy ssh client config located in:
/etc/ssh/ssh_config
Includes the following line at the bottom of the file:


HashKnownHosts yes

which means that by default autocompletion will fail miserably as the hostname / IP will not be readable, as it is stored in a hash.
Simple solution.

Change the line to read:

HashKnownHosts no

Remove the existing ssh history:


cd .ssh
rm known_hosts

Make sure that autocomplete is on in your profile by checking that the following section in your .bashrc file is uncommented:
 if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

And your autocompletion should start working again.
There’s probably a very good reason why the package maintainers changed the default, but it took me some time to work out why my autocompletion wasn’t working
*sigh*
Debian GNU/Linux 3.X Bible

Related Posts:

  • Video thumbnail for youtube video sonqjkjtmaa
    Thriller was Released 40 years ago!
  • distance-traveled
    The Irish Postal Service Failed Me!
  • Instafest-mneylon-2023
    Another Year of Listening to Music Visualised (sort of)
  • taylor-swift-eras-tour-paris
    Female Rage : The Musical (Taylor Swift in Paris)
  • Video thumbnail for youtube video noazpa1x7ju
    Rutger Hauer's Monologue in Blade Runner
  • rhubarb-strawberry-crumble
    Enjoying the Harvest From my Garden Already

Filed Under: Techie :: Techno ::, Ubuntu Tagged With: Linux, Ubuntu

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

dotblog founder

Mastodon

Archives

  • Bluesky
  • Instagram
  • Threads
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Newsletter
  • Privacy

Blogroll

  • Grandad
  • Stewart Curry
  • Tom Doyle
  • Technology.ie Podcast
  • Blacknight Blog

Stalking Links

Subscribe to Michele Neylon :: Pensieri

Blogroll

  • Blacknight Blog
  • Damien Mulley
  • Gianni Ponzi
  • Gordon Hudson
  • Grandad
  • My Mastodon
  • Paul Savage – BlackDog SEO
  • Stewart Curry
  • Technology.ie Podcast
  • Tom Doyle

Sites

  • Business Travel Tips
  • Discount Coupon Codes
  • Domain News
  • Fat.ie – my diet blog
  • Film Posters
  • Film Reviews
  • Films
  • Free Desktop Wallpapers
  • Irish Blogger Discussion Forum
  • Irish Stamps
  • Movie Trailers and News
  • Paste.ie

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in