Discussion:
[JSch-users] Session.connect() java.io.IOException: End of IO Stream Read
WILDCATS
2015-10-07 16:16:41 UTC
Permalink
I've seen a couple posts relating to this but no answers.

I'm seeing the same issue with the following conditions:


- latest jsch library
- Session.connect fails on line 323, buf=read(buf); and Exception is
thrown on line 918, io.getByte(buf.buffer, buf.index, s2ccippher_size);

KeyExchange kex=receive_kexinit(buf);

while(true){
buf=read(buf);
if(kex.getState()==buf.getCommand()){
kex_start_time=System.currentTimeMillis();
boolean result=kex.next(buf);
if(!result){
//System.err.println("verify: "+result);
in_kex=false;
throw new JSchException("verify: "+result);
}
}



- Using ssh-agent and key authentication
- IDEA 14.1.5
- Only happens using debugger, but happens consistently.
Lothar Kimmeringer
2015-10-07 17:00:50 UTC
Permalink
* Only happens using debugger, but happens consistently.
can you provide the output of the debug log?


Best regards, Lothar

Loading...