2017-02-23 21 views
1

我有一個使用用戶名/密碼ssh身份驗證的節點。該節點被報告爲脫機,當我嘗試啓動代理我得到:Jenkins從屬節點處於脫機狀態:身份驗證失敗

[02/23/17 15:32:00] [SSH] Opening SSH connection to myUrl:22. 
ERROR: Failed to authenticate as myUser. Wrong password. (credentialId:lawrence/method:keyboard-interactive) 
[02/23/17 15:32:02] [SSH] Authentication failed. 
hudson.AbortException: Authentication failed. 
    at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1217) 
    at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:711) 
    at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
    at java.lang.Thread.run(Thread.java:745) 
[02/23/17 15:32:02] Launch failed - cleaning up connection 
[02/23/17 15:32:02] [SSH] Connection closed. 

我已經證實,用戶名和密碼都爲我管理手動與他們登錄自己是正確的。

這個錯誤的原因是什麼?

回答

0

而是登錄的,嘗試做一個

ssh slave command 

我懷疑你的登錄配置文件的罪魁禍首。看看this

1

根本原因是jenkins用戶無法讀取SSH私鑰。 您應該直接輸入私鑰。 enter image description here

+0

你是我的英雄! – SegFault