Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法使jenkins中的从属节点联机_Jenkins_Ssh_Private Key_Public Key_Jenkins Slave - Fatal编程技术网

无法使jenkins中的从属节点联机

无法使jenkins中的从属节点联机,jenkins,ssh,private-key,public-key,jenkins-slave,Jenkins,Ssh,Private Key,Public Key,Jenkins Slave,我建议你先复习。提示:它通常涉及询问实际问题、描述问题、格式化代码/输出、标记屏幕截图(没有文本屏幕截图)等等。这不是一个真正的帮助台,而是帮助人们的人。你在谷歌上搜索过“PEM问题:它属于未知类型”吗?你复习了吗?你确定凭证“veera jenkins with credential=veera”是正确的吗?我已经改进了错误格式并显示了图像,但问题仍然不清楚,是否清楚取决于你。在完成了所有上述配置(在屏幕截图中共享)后,我无法使jenkins中的从属节点联机 SSHLauncher{host=


我建议你先复习。提示:它通常涉及询问实际问题、描述问题、格式化代码/输出、标记屏幕截图(没有文本屏幕截图)等等。这不是一个真正的帮助台,而是帮助人们的人。你在谷歌上搜索过“PEM问题:它属于未知类型”吗?你复习了吗?你确定凭证“veera jenkins with credential=veera”是正确的吗?我已经改进了错误格式并显示了图像,但问题仍然不清楚,是否清楚取决于你。在完成了所有上述配置(在屏幕截图中共享)后,我无法使jenkins中的从属节点联机
SSHLauncher{host='10.10.0.15', port=22, credentialsId='veera', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[06/30/20 13:12:15] [SSH] Opening SSH connection to 10.10.0.15:22.
[06/30/20 13:12:15] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
ERROR: Server rejected the 1 private key(s) for veera-jenkins (credentialId:veera/method:publickey)
ERROR: Failed to authenticate as veera-jenkins with credential=veera
java.io.IOException: Publickey authentication failed.
    at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:302)
    at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:451)
    at com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPublicKeyAuthenticator.doAuthenticate(TrileadSSHPublicKeyAuthenticator.java:109)
    at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:436)
    at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:473)
    at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:861)
    at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:425)
    at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:412)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: PEM problem: it is of unknown type
    at com.trilead.ssh2.crypto.PEMDecoder.decodeKeyPair(PEMDecoder.java:500)
    at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:236)