GithubHelp home page GithubHelp logo

Comments (6)

marcparadise avatar marcparadise commented on July 17, 2024

This looks like the side effect of #176 - because we now always populate this into the target URL, the missing values in the identity portion get mapped to empty strings instead of nils. I'd been thinking anyway about changing the behavior to always use the train options map, and do not use the URL form except to resolve protocol. That should fix this behavior, without regressing #175 (which was fixed by #176)

from chef-workstation.

marcparadise avatar marcparadise commented on July 17, 2024

This is being tracked internally as SHACK-252

from chef-workstation.

kmf avatar kmf commented on July 17, 2024

Thanks for all the effort.

from chef-workstation.

marcparadise avatar marcparadise commented on July 17, 2024

An partial fix is in place for this with #212 - but username will still default to 'root' even if .ssh/config has a User directive for the host - this will need to be fixed in train. We're looking into that now.
I'll keep this open until that is resolved as well.

from chef-workstation.

marcparadise avatar marcparadise commented on July 17, 2024

Related: inspec/train#101 - I didn't verify port, but a quick look through train says that it still won't get picked up from config. It's got the same situation that 'user' does - it has a default in train, and if you don't provide it the default will be used. This prevents net/ssh from extracting it from config - its default behavior for these fields when values are not given.

from chef-workstation.

tyler-ball avatar tyler-ball commented on July 17, 2024

I think we fixed this with workarounds, so closing for now. Any upstream bugs we should track in the upstream repo

from chef-workstation.

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.