Hello,


I'm trying to launch a Windows slave agent over SSH without success so far. The 
agent is running Windows 8 and uses the Win64 port of OpenSSH (see here  
<https://github.com/PowerShell/Win32-OpenSSH/releases/>and here 
<https://winscp.net/eng/docs/guide_windows_openssh_server>). *Is the request 
failing because of the SSH channel or because the agent is not supporting the 
bash Unix shell? *So far I've been able to establish a connection between the 
master (Windows) and the agent using a regular SSH client with a user/password 
combination and also using public key authentication.


Any help regarding this would be greatly appreciated! Thank you / merci.


[09/04/16 00:21:13] [SSH] Opening SSH connection to slave01:22.

[09/04/16 00:21:13] [SSH] Authentication successful.
java.io.IOException: The execute request failed.
        at 
com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:774)
        at com.trilead.ssh2.Session.execCommand(Session.java:306)
        at com.trilead.ssh2.Connection.exec(Connection.java:1553)
        at 
hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:872)
        at hudson.plugins.sshslaves.SSHLauncher.access$100(SSHLauncher.java:137)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:713)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706)
        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)
Caused by: java.io.IOException: This SSH2 channel is not open. state: 4
        at 
com.trilead.ssh2.channel.ChannelManager.ioException(ChannelManager.java:1543)
        at 
com.trilead.ssh2.channel.ChannelManager.waitForChannelRequestResult(ChannelManager.java:167)
        at 
com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:769)
        ... 10 more
Caused by: java.io.IOException: The connection is being shutdown
        at 
com.trilead.ssh2.channel.ChannelManager.handleEndMessage(ChannelManager.java:1525)
        at 
com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:522)
        ... 1 more
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at 
com.trilead.ssh2.crypto.cipher.CipherInputStream.fill_buffer(CipherInputStream.java:41)
        at 
com.trilead.ssh2.crypto.cipher.CipherInputStream.internal_read(CipherInputStream.java:52)
        at 
com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:79)
        at 
com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
        at 
com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
        at 
com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:693)
        at 
com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:489)
        ... 1 more
[09/04/16 00:21:13] Launch failed - cleaning up connection
[09/04/16 00:21:13] [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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d4413772-8f86-45c1-897c-ea2bc312a360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to