ssh - Changing a jenkins slave DNS entry -
i changed dns cname record of 1 of slaves jenkins machine uses. after change made, updated information in node points new name. since then, jenkins slave fails launch following error:
[09/10/14 18:24:11] [ssh] opening ssh connection name.domain.com:22. error: server rejected 1 private key(s) ubuntu (credentialid:xxxxxxxxxxxxxxxxxxxxxxx/method:publickey) [09/10/14 18:24:11] [ssh] authentication failed. hudson.abortexception: authentication failed. @ hudson.plugins.sshslaves.sshlauncher.openconnection(sshlauncher.java:1143) @ hudson.plugins.sshslaves.sshlauncher$2.call(sshlauncher.java:648) @ hudson.plugins.sshslaves.sshlauncher$2.call(sshlauncher.java:642) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) [09/10/14 18:24:11] [ssh] connection closed. [09/10/14 18:24:11] launch failed - cleaning connection
can give me info on how might resolve this? using same key had been working prior dns change.
the problem visible on line says:
error: server rejected 1 private key(s) ubuntu (credentialid:xxxxxxxxxxxxxxxxxxxxxxx/method:publickey)
you need log slave , examine /var/log/auth.log discover why slave refused key.
you might want double-check credential slave configured use. when have edited slave configuration, settings have changed have no recollection changing.
Comments
Post a Comment