#Cloning from private repositories with SSH

1 messages · Page 1 of 1 (latest)

restive spire
#

Cloning from private repositories with SSH

#

Ahh it's the fingerprint prompt - is there an easy workaround here that doesn't involve known_hosts or similar

restive spire
merry falcon
#

You might be able to add that with this command before you do anything in the container using WithExec?

ssh-keyscan -H <host> >> ~/.ssh/known_hosts
eternal plume
#

re >(can I just +default this?) ... this is something that we (nine) would love to see as well.

#

Right now plugging it in everywhere 🙂 it's fine but its leading to us needing to create a dagger wrapper as part of our rollout

merry falcon
#

@eternal plume @restive spire just to confirm, are you are asking for +default values for *dagger.Socket or you want to set the +default to pull from the host environment variable? If its the latter, would love for your use case and two cents be added to this discussion: https://github.com/dagger/dagger/discussions/10401

restive spire
#

I'd be happy with a +default for sockets, it's one of those that just gets pasted into any module that touches git in any way

eternal plume
#

Probably the latter