KpyM Telnet/SSH Server - Forum
KpyM SSH Server for Jenkins Slave
Joshua Boyd KpyM SSH Server for Jenkins Slave
 
I am attempting to use Kpym SSH server on Windows 7 as a means to using it as a Jenkins slave. I can use putty to ssh into the Windows 7 machine just fine.

However, when I configure Jenkins to ssh in, I get this:

[01/04/13 16:20:24] [SSH] Opening SSH connection to 10.10.59.222:22.

[01/04/13 16:20:25] [SSH] Authenticating as vsnuser/******.
[01/04/13 16:20:26] [SSH] Authentication successful.
[01/04/13 16:20:26] [SSH] The remote users environment is:
java.io.IOException: Could not open channel (The connection is being shutdown)
at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127)
at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584)
at com.trilead.ssh2.Session.<init>(Session.java:40)
at com.trilead.ssh2.Connection.openSession(Connection.java:1104)
at com.trilead.ssh2.Connection.exec(Connection.java:1516)
at hudson.plugins.sshslaves.SSHLauncher.reportEnvironment(SSHLauncher.java:581)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:286)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
[01/04/13 16:20:26] [SSH] Connection closed.


My question is, is this a limitation of KpyM SSH Server, or is this simply a side effect of the nag screen?

I spent some time consulting Google and can't really find much about using KpyM with Jenkins, but it looks like it should be an obvious fit to me if I can get this worked out.


Kroum Grigorov
 
This looks to me like some incompatability between KpyM and Jenkins.
I don't think the nag screen is the reason

Kroum


Mark Lehrer
 
Joshua,

We are in the middle of making Jenkins work with Kpym. Please contact me at mark@tpsit.com if you have any questions. We are using Openstack to dynamically generate dozens of windows browsers to test against our app. It would be fun to

We are just getting started but so far it looks like kpym doesn't want to remotely execute commands, it only works interactively. This is a critical problem, right up there with the lack of SCP support. But this seems like such a basic function that it must be supported somehow.

Mark


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group