Skip to content

Commit

Permalink
forgot the ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
mslipper committed Oct 23, 2024
1 parent e30d260 commit 43f42ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/bailiff/repush.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (s *ShellRepusher) Clone(ctx context.Context, repoURL string) error {
".",
)
cmd.Dir = s.workdir
cmd.Env = append(cmd.Env, "GIT_SSH_COMMAND='-o StrictHostKeyChecking=accept-new'")
cmd.Env = append(cmd.Env, "GIT_SSH_COMMAND='ssh -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new'")

doneC := make(chan struct{})
if err := s.logOutput(cmd, doneC); err != nil {
Expand Down

0 comments on commit 43f42ed

Please sign in to comment.