#1password git ssh agent forwarding to dagger container

1 messages · Page 1 of 1 (latest)

bitter grove
#

I'm trying to do fetch a dependency (mix deps.get) in a dagger withExec, but it fails with Host key verification failed when hex attempts to fetch a private git repo. Running ssh-add -l on the host machine lists the correct key. Is there anything special I need to do in order to forward the ssh agent to the dagger container? I'm using the 1password ssh agent.

fair epoch
#

note to myself: finish my discord AI agent to automate this. cc @short comet 🙈

bitter grove
#

Thanks! Though I don't need it anymore, got the motivation I needed to move our internal deps to a private hex repo 😅

dry ingot
fair epoch
#

I'm AFK right now but I can confirm a bit later

dry ingot
#

Ok please lmk, we have a few examples which refer to private repositories in the cookbook and none of them pass a socket, so maybe they all need to be changed? Also @vagrant wigeon for comments

fair epoch
#

let's wait for @vagrant wigeon 's reply here

vagrant wigeon
dry ingot