From 8673b85c55ccfb9873244741b45c44e7cf271ee1 Mon Sep 17 00:00:00 2001 From: CIzz22 Date: Mon, 13 Jan 2025 04:43:27 +0000 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4e31693..1e3ba12 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,8 +11,11 @@ pipeline { steps { sshagent(['backend-server-digitaltwin']) { // Use the credential ID you created sh ''' - # Test SSH connection - ssh -o StrictHostKeyChecking=no ${SERVER_USER}@${SERVER_IP} 'echo "SSH Connection Successful!" && hostname && date' + # Print SSH key info + ssh-add -l + + # Try verbose SSH connection + ssh -v -o StrictHostKeyChecking=no aimo@192.168.1.82 'echo test' ''' } }