Code Monkey home page Code Monkey logo

Comments (3)

geerlingguy avatar geerlingguy commented on May 21, 2024

@benheu - That is very strange—the only major difference I can see is you're using Vagrant 2.2.6 (2.2.7 is latest) and VirtualBox 6.0.18 (6.1.6 is latest). Maybe there's a difference there?

If it works with the config in ~/.ssh/config it seems that's the same as what ansible was trying to use via Vagrant...

from ansible-for-kubernetes.

geerlingguy avatar geerlingguy commented on May 21, 2024

Interesting, in researching this further I was brought to an issue on a different project I maintain: geerlingguy/drupal-vm#70

In it, someone mentioned IdentitiesOnly yes was the fix for them, too. It seems like this is a problem that may affect you if you use ssh identities and have more than 5 keys loaded via ssh-add!

By specifying the key in your ~/.ssh/config file directly, it offers that key first (no matter how many identities you have in your active ssh agent), and then authentication works.

Check how many keys are active with ssh-add -l and see if there are five or more.

Closing this issue as I believe that's the reason behind this and the fix, but thanks for posting your experience, hopefully to the benefit of future people who might Google the same issue!

from ansible-for-kubernetes.

benheu avatar benheu commented on May 21, 2024

Nice catch! Indeed I have 5 of them, thanks for taking the time looking into that.

from ansible-for-kubernetes.

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.