executing pre-launch scripts ...
java.io.IOException: Illegal char in base64 code.
at com.trilead.ssh2.crypto.Base64.decode(Base64.java:107)
at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:406)
at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:437)
at com.trilead.ssh2.KnownHosts.<init>(KnownHosts.java:86)
at hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy.getPreferredKeyAlgorithms(KnownHostsFileKeyVerificationStrategy.java:91)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[06/26/17 14:01:48] Launch failed - cleaning up connection
[06/26/17 14:01:48] [SSH] Connection closed.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4e6463de-2980-4ccf-bfac-0768237a8ee7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) Client VM (build 25.101-b13, mixed mode, sharing)
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Do you use the same Java version on the master and agent ? Which version of Jenkins are you using ?
2017-06-26 20:17 GMT+02:00 t3knoid <t3k...@gmail.com>:
I am trying to add a RHEL7 slave in my existing configuration that is using a Windows master. I am trying to use "Launch slave agents via SSH." I am getting the following error when I tried to configure the slave:executing pre-launch scripts ...
java.io.IOException: Illegal char in base64 code.
at com.trilead.ssh2.crypto.Base64.decode(Base64.java:107)
at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:406)
at com.trilead.ssh2.KnownHosts.initialize(KnownHosts.java:437)
at com.trilead.ssh2.KnownHosts.<init>(KnownHosts.java:86)
at hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy.getPreferredKeyAlgorithms(KnownHostsFileKeyVerificationStrategy.java:91)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[06/26/17 14:01:48] Launch failed - cleaning up connection
[06/26/17 14:01:48] [SSH] Connection closed.I verified that I can SSH successfully from the master to the intended host using a private key. I also tried just a standard username/password with the same result.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6954eaf7-cef4-47d4-b67a-8ff1efae2b99%40googlegroups.com.