I've never set up a Jenkins master on Windows using Linux SSH Agents, but looking at the exception trace, something is wrong when reading your master known_hosts file. Have you tried to disable 'Host Key Verification Strategy' on your SSH Agent settings ?
2017-06-26 22:22 GMT+02:00 t3knoid <t3kn...@gmail.com>: > I am using Jenkins 2.66. Sorry I didn't provide earlier. I was hoping this > something straightforward where I am not doing something right. > > This is what I have in the Master (Windows) > > 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) > > > This is what I have in RHEL: > > Java(TM) SE Runtime Environment (build 1.8.0_131-b11) >> Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) > > > > On Monday, June 26, 2017 at 3:55:49 PM UTC-4, mpapo - Michael Pailloncy > wrote: >> >> 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.KnownHostsFileKeyVerifica >>>> tionStrategy.getPreferredKeyAlgorithms(KnownHostsFileKeyVeri >>>> ficationStrategy.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 view this discussion on the web visit https://groups.google.com/d/ms >>> gid/jenkinsci-users/4e6463de-2980-4ccf-bfac-0768237a8ee7% >>> 40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/4e6463de-2980-4ccf-bfac-0768237a8ee7%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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+unsubscr...@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 > <https://groups.google.com/d/msgid/jenkinsci-users/6954eaf7-cef4-47d4-b67a-8ff1efae2b99%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPO77c3Y9aMocZQkZi2-NRgoByg3%3D%3D55aku-FwXS%3DBTUpO%2Bf6Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.