From e20abf053cb99d6532756e278a85af1c63bf3409 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Thu, 5 Mar 2020 16:01:10 +0100 Subject: [PATCH] runconfig: disable password authentication in clone step If for some reasons the ssh public key auth fails, avoid the clone step to block during a git clone waiting for a password. --- internal/runconfig/runconfig.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/runconfig/runconfig.go b/internal/runconfig/runconfig.go index cb0f103..f057d3f 100644 --- a/internal/runconfig/runconfig.go +++ b/internal/runconfig/runconfig.go @@ -109,6 +109,7 @@ Host $AGOLA_GIT_HOST HostName $AGOLA_GIT_HOST Port $AGOLA_GIT_PORT StrictHostKeyChecking ${STRICT_HOST_KEY_CHECKING} + PasswordAuthentication no EOF )