GithubHelp home page GithubHelp logo

Comments (5)

lunks avatar lunks commented on May 7, 2024

hmm looks like there is no hosts at all on my known_hosts list. Where did they go? :(

from ohmyzsh.

priteau avatar priteau commented on May 7, 2024

Your known_hosts file is hashed. There is no way zsh completion can guess the hostname with such file.
The solution is to add "HashKnownHosts no" to your ~/.ssh/config, prune the known_hosts file and populate it again (this time the hosts will be in clear text).

By the way, I don't see how your sed command can work. I expect you wanted to do:
sed 's/^([^ ,]).$/\1/' ~/.ssh/known_hosts

from ohmyzsh.

robbyrussell avatar robbyrussell commented on May 7, 2024

Priteau,

Thanks for helping. Lunks, did this help you out?

from ohmyzsh.

lunks avatar lunks commented on May 7, 2024

priteau, I got it straight from oh-my-zsh source.
robbyrussell, haven't tried it yet. Maybe it's worthy to add an 'issues' on README or on the installer about some caveats like this one.

from ohmyzsh.

lunks avatar lunks commented on May 7, 2024

after populating again and restarting zsh, it worked. Thanks, priteau!

from ohmyzsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.