What steps will reproduce the problem?
Try to connect to server with long login banner
What is the expected output? What do you see instead?
Expected: success connection
Instead:
[11/28/10 22:30:12] [SSH] Opening SSH connection to XXXXXXXXXXXXXXXXXXXXXXX:22.
java.io.IOException: There was a problem while connecting to
XXXXXXXXXXXXXXXXXXXXXXXXXX:22
at com.trilead.ssh2.Connection.connect(Connection.java:755)
at com.trilead.ssh2.Connection.connect(Connection.java:546)
at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:523)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:179)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: The server sent a too long line.
at
com.trilead.ssh2.transport.ClientServerHello.readLineRN(ClientServerHello.java:5
1)
at
com.trilead.ssh2.transport.ClientServerHello.<init>(ClientServerHello.java:68)
at
com.trilead.ssh2.transport.TransportManager.initialize(TransportManager.java:457
)
at com.trilead.ssh2.Connection.connect(Connection.java:699)
... 9 more
What version of the product are you using? On what operating system?
version 260, All OS
Please provide any additional information below.
Please increase serverVersion array size to 1024 in ClientServerHello:66
byte[] serverVersion = new byte[1024];
Original issue reported on code.google.com by Nevil.N...@gmail.com on 5 Aug 2011 at 9:46
Original issue reported on code.google.com by
Nevil.N...@gmail.com
on 5 Aug 2011 at 9:46