GithubHelp home page GithubHelp logo

failed to add key about envoy HOT 7 CLOSED

vodik avatar vodik commented on September 28, 2024
failed to add key

from envoy.

Comments (7)

vodik avatar vodik commented on September 28, 2024

Right. You enabled both. Is either one or the other. Try only enabling one of the two. They are just two different backends. If it still persists I'll take a closer look.

from envoy.

vtolstov avatar vtolstov commented on September 28, 2024

Thanks! Now i can add key. But i can't get commands for fish shell.
If i exec envoy -p i see the output
If i exec envoy -f nothing displayed. Can you check this?

from envoy.

vodik avatar vodik commented on September 28, 2024
envoy -pf

-f makes the print function output fish style command. The two need to go together. This is to make aliases easier:

alias envoy="envoy -f"

from envoy.

vtolstov avatar vtolstov commented on September 28, 2024

Thanks!

Is that possible to silently not add keys that already added? Now i need to envoy -l | grep $key to check what key i need to add.

from envoy.

vodik avatar vodik commented on September 28, 2024

Sorry for the delay, school is getting the best if me.

There really isn't a way for enjoy with ssh-agent to remember which keys you added. Envoy isn't much more than a process manager at its core. Its not something the agent supports to begin with. However its possible to script that nicely when it comes to the shell setup.

Its, however, possible with the gpg-agent, but that's because that agent behaves differently. Instead it creates a keyring and any added SSH keys get associated with that keyring. The keyring is automatically loaded and unlocked on demand.

So give gpg-agent a shot. Other them that there isn't much I can do. Envoy can only facilitate the behaviour of the agent its managing.

from envoy.

vodik avatar vodik commented on September 28, 2024

I suppose I can save and load added keys to file. If you really want this behaviour and insist on using ssh-agent, open another issue here as a feature request and I'll get to it once I'm done midterms.

from envoy.

vtolstov avatar vtolstov commented on September 28, 2024

Hmm. I'm understand. I think my scripting foo with envoy -l does enought. Thanks!

from envoy.

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.