com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read


Samebug tips

Ant scp task has an attribute called trust. If set to false (default) the host you connect to has to be set in the knownhosts file (you might have to create it) Another way is to explicitly set "trust = true". Check the documentation: https://goo.gl/G5680x


5 months ago
Expert tip

Solutions on the web

Solution icon of web
via baba.io by Unknown author, 1 year ago
Session.connect: java.io.IOException: End of IO Stream Read

Solution icon of stackoverflow
Session.connect: java.io.IOException: End of IO Stream Read

Solution icon of stackoverflow
Session.connect: java.io.IOException: End of IO Stream Read

Solution icon of web
Session.connect: java.io.IOException:

Solution icon of web
via sourceforge.net by Unknown author, 1 year ago
Session.connect: java.io.IOException:

Solution icon of web
via sourceforge.net by Unknown author, 1 year ago
Session.connect: java.io.IOException:

Solution icon of sourceforge
via jsch by ralfhauser
, 1 year ago
Session.connect: java.net.SocketTimeoutException: Read timed out

Solution icon of web
via voltdb.com by Unknown author, 1 year ago
Session.connect: java.net.SocketTimeoutException: Read timed out

Solution icon of stackoverflow
Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)

Solution icon of sourceforge
Session.connect: java.security.SignatureException: Signature encoding error

Stack trace

com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read
	at com.jcraft.jsch.Session.connect(Session.java:558)
	at com.jcraft.jsch.Session.connect(Session.java:183)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
98 more bugmates