Giter Club home page Giter Club logo

Comments (4)

davrodpin avatar davrodpin commented on May 24, 2024 1

Not sure if I understand what you asking for. Do you want to pass the key itself through a CLI argument? Or do you want to use pre-established environment variables to set some of the CLI arguments?

from mole.

0187773933 avatar 0187773933 commented on May 24, 2024

I am trying to remove the cli portion, and build custom binaries with everything already hard coded in.

So that the binary itself already contains the ssh keys, tunnel info, host, etc.

Then you can build custom binaries for specific setups, and run them in places.

from mole.

davrodpin avatar davrodpin commented on May 24, 2024

I don't think that is a secure approach since sensitive information will be easily if someone decides inspect your binary.

I also don't think a lot of people will actually change and compile the code to use it.

If you want avoid dealing with CLI arguments, I suggest you to use the alias feature.

from mole.

davrodpin avatar davrodpin commented on May 24, 2024

Closing due to inactivity.

from mole.

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.