Skip to content

Understand why only the maven sample still works with the SSH keys. #27

@gounthar

Description

@gounthar
SSHLauncher{host='desktop-jenkins_agent-1', port=22, credentialsId='jenkins-ssh-agent-private-key', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[12/09/23 21:29:54] [SSH] Opening SSH connection to desktop-jenkins_agent-1:22.
[12/09/23 21:29:54] [SSH] WARNING: SSH Host Keys are not being verified. Man-in-the-middle attacks may be possible against this connection.
ERROR: Server rejected the 1 private key(s) for jenkins (credentialId:jenkins-ssh-agent-private-key/method:publickey)
[12/09/23 21:29:54] [SSH] Authentication failed.
Authentication failed.
[12/09/23 21:29:54] Launch failed - cleaning up connection
[12/09/23 21:29:54] [SSH] Connection closed.
SSHLauncher{host='desktop-jenkins_agent-1', port=22, credentialsId='jenkins-ssh-agent-private-key', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[12/09/23 21:30:02] [SSH] Opening SSH connection to desktop-jenkins_agent-1:22.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions