Git Product home page Git Product logo

Comments (6)

nicklewis avatar nicklewis commented on May 25, 2024 1

This should be working already. If not, there might be a bug. What are you trying to use in the ssh config and what isn't working?

from bolt.

darkn3rd avatar darkn3rd commented on May 25, 2024

I don't see an option for this:

https://github.com/puppetlabs/bolt/blob/master/lib/bolt/cli.rb#L165-L189

from bolt.

nicklewis avatar nicklewis commented on May 25, 2024

Ah yes, it's done automatically and only uses the default ssh-config file. We certainly could add the option to specify a different ssh-config.

from bolt.

darkn3rd avatar darkn3rd commented on May 25, 2024

Vagrant users would be very happy. I dynamically generate these for my own bootstrap process in dev environments using vagrant, google cloud, or AWS. I can cat them to my ~/.ssh/config, but then it would be difficult to rip them out (instr + gsub hackery) when I remove the boxes.

from bolt.

nicklewis avatar nicklewis commented on May 25, 2024

If you have SSH > 7.3, you can use the Include directive in ssh-config. So you could add something like Include config.d/* and write your environment-specific files to ~/.ssh/config.d/<filename>. That's a workaround, but it seems like it might work, if the version of SSH supports it.

from bolt.

darkn3rd avatar darkn3rd commented on May 25, 2024

My local development environment doesn't have it (Ubuntu 16.04)

$ lsb_release -cs
xenial
$ ssh -V
OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g  1 Mar 2016

A lot of systems out there, run Ubuntu 14.04, such as bastion host workstation.

from bolt.

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.