turbot / flowpipe

Flowpipe is a cloud scripting engine. Automation and workflow to connect your clouds to the people, systems and data that matters.
https://flowpipe.io
GNU Affero General Public License v3.0
361 stars 13 forks source link

Flowpipe Mod Installation when using alternate ssh-agents. #172

Closed Joeturbot closed 11 months ago

Joeturbot commented 11 months ago

I'm using the 1Password SSH agent and get this error message:

❯ flowpipe mod install --git-url-mode ssh
Error: 1 dependency failed to install - Bad Request: could not retrieve version data from Git URL github.com/turbot/flowpipe-mod-aws - ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
1 reply

Joe Michela

This is my ~/.ssh/config file:

Host *
        IdentityAgent ~/.1password/agent.sock
Joeturbot commented 11 months ago

Looks like you need to update the SSH_AUTH_SOCK env var to point to your chosen alternate SSH agent.

1Password has a great set of instructions on how to do this: https://developer.1password.com/docs/ssh/agent/compatibility/#ssh-auth-sock