From 3593e52eec1cd0473a1c2f2929b77bb60727ba56 Mon Sep 17 00:00:00 2001 From: Basyrov Rustam Date: Mon, 9 Jun 2025 12:10:09 +0300 Subject: [PATCH] fix https://serverfault.com/questions/880938/jenkins-host-key-verification-failed --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4286b9f..fd52b21 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { keyFileVariable: 'SSH_PRIVATE_KEY' ) ]) { - sh('ssh -i "$SSH_PRIVATE_KEY" -p 2222 saccada@saccada.xyz "find ~/ws"') + sh('ssh -i "$SSH_PRIVATE_KEY" -p 2222 -o StrictHostKeyChecking=no saccada@saccada.xyz "find ~/ws"') } } }