Error starting a windows slave from a linux master over SSH

319 views
Skip to first unread message

Badal

unread,
May 7, 2014, 1:55:38 PM5/7/14
to jenkins...@googlegroups.com
Hi,
my jenkins master is running  on Linux.
Slave is on a windows server that has freeSSH installed. I have a freeSSH user created and named as "jenkinslave". I can successfully SSH from the Linux box to the windows slave.
Windows does not have Cygwin.
 
I am trying to start the slave from the Linux with the "Launch slave agents on Unix machines via SSH " launch method as I did not see any option to start windows slave via SSH. I would like to start slave over SSH as the windows service option has some limitations for GUI test. I would like to stay away from Cygwin as it is heavy. I am not sure if Cyqwin is a must requirement or not.

When master tries to launch the slave I get the following error. The credential used is the private key for "jenkinslave".



[05/07/14 11:27:37] [SSH] Opening SSH connection to 172.17.105.197:22.
[05/07/14 11:27:37] [SSH] Authentication successful.
SSH connection reports a garbage before a command execution.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
Unable to execute command or shell on remote system: Failed to Execute process.

hudson.AbortException
	at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:713)
	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:590)
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:222)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
[05/07/14 11:27:37] [SSH] Connection closed.


Any help is appreciated.
Thanks,
Badal
Reply all
Reply to author
Forward
0 new messages