Sounds like the ssh command is failing. Maybe the password or private key 
is wrong? 


On Monday, November 14, 2016 at 10:28:20 AM UTC-6, Peter Berghold wrote:
>
> I have Jenkins running merrily on an Ubuntu box and want to set up a slave 
> on an RHEL box. 
>
> Created a script on the RHEL box that essentially launches a script that 
> in turn launches the slave.jar.  Trying to invoke it over SSH and there's 
> where things take a turn for the worse.
>
> I'm getting this:
>
> [11/14/16 16:22:37] Launching agent
> $ /usr/share/tomcat8/startSlave0
> Host key verification failed.
> ERROR: Unable to launch the agent for <host>java.io.EOFException 
> <http://stacktrace.jenkins-ci.org/search?query=java.io.EOFException>: 
> unexpected stream termination
>       at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ChannelBuilder.negotiate&entity=method>
>       at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ChannelBuilder.build&entity=method>
>       at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:388) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.SlaveComputer.setChannel&entity=method>
>       at hudson.slaves.CommandLauncher.launch(CommandLauncher.java:131) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.CommandLauncher.launch&entity=method>
>       at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:261) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.SlaveComputer$1.call&entity=method>
>       at 
> jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=jenkins.util.ContextResettingExecutorService$2.call&entity=method>
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method>
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor.runWorker&entity=method>
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method>
>       at java.lang.Thread.run(Thread.java:745) 
> <http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method>
> ERROR: Process terminated with exit code 255
>
>
> That first line is a script on the master that does the SSH.    What I'm not 
> sure about is exactly what is complaining about Host key verification.  Given 
> I can run that script by hand and it starts the jar file I'm a bit confused 
> about what's going on here. 
>
>
> Has anybody gotten this to work?
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b9a359bf-eef0-4855-9178-515ee70acce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to