SSH Connectivity Java IOException
In the past I've successfully connected to my server with PHPStorm. However, the SSH connectivity stopped working. I get the following error message: "Session.connect: java.io.IOException: End of IO Stream Read"

I'm able to successfully SSH into my server using SSH command in Terminal (and the same SSH key that PHPStorm uses), and I can access the server using SFTP through Filezilla.
Here's version information from the Debug log.
PhpStorm 10.0.4 Build #PS-143.2370.33
JDK: 1.8.0_76-release
VM: OpenJDK 64-Bit Server VM
Vendor: JetBrains s.r.o
OS: Mac OS X
The following snippet comes from the middle of the log file where the error is generated.
Caused by: 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.jetbrains.plugins.remotesdk.transport.SshUtil.connectJSch(SshUtil.java:89)
at com.jetbrains.plugins.remotesdk.transport.SshUtil.connectJSch(SshUtil.java:35)
at com.jetbrains.plugins.remotesdk.transport.SshRemoteSession.createSession(SshRemoteSession.java:59)
at com.jetbrains.plugins.remotesdk.transport.SshRemoteSession.<init>(SshRemoteSession.java:53)
at com.jetbrains.plugins.remotesdk.transport.SshRemoteSession.<init>(SshRemoteSession.java:42)
at com.jetbrains.plugins.remotesdk.transport.SshRemoteSession.<init>(SshRemoteSession.java:36)
at com.jetbrains.plugins.remotesdk.RemoteSdkUtil.createRemoteSession(RemoteSdkUtil.java:651)
Let me know what additional info you may need to help me troubleshoot this problem.
Jeff
Please sign in to leave a comment.
Hello,
Probably something has been updated on a server side or a secure keys were regenerated with some new algorithms.
Please enable debug logging for deployment issues as per https://intellij-support.jetbrains.com/hc/en-us/articles/207241115-How-to-Collecting-PhpStorm-WebStorm-debug-Logs , reproduce the issue and attach the latest log messages here.
You want the entire log? It's quite long.
Jeff
It would be great if you could just share the file without pasting it to the forum. Btw, is there a chance to update your IDE (you're running a little bit outdated version)?
Here's the link to the log file. https://goo.gl/uzQJzz
This error message was found in the server logs:
Dec 26 14:16:28 www sshd[62448]: fatal: mm_answer_moduli: bad
parameters: 2048 2048 1024
When I check for updates, PHPStorm tells me I'm on the latest version.
Thanks for your help.
Jeff
Let me know if there's any other information that you need.
Jeff
Thanks for the log!
The issue is fixed for the latest PhpStorm version only: https://youtrack.jetbrains.com/issue/WI-33542
You can try to download EAP build and check if it works for you there.
Thanks for the fix! Since I have a workaround for this problem, I'll wait for the next official release of PHPStorm.
Jeff