Have run into a possible need to force JSch to use the diffie-hellman-group1-sha1 KEX. Is this possible?
What is occurring is while attempting to send a file, this exception is thrown: "com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read"
The exception occurs after waiting about 10 minutes during an SFTP transfer request, which is sending a small file to a server using the .UploadFile method.
An online thread suggests applying this method:
session.setConfig("kex", "diffie-hellman-group1-sha1");
But the library doesn't have the option.
Using: B4J V9.8
Jsch 1.3
Regards
What is occurring is while attempting to send a file, this exception is thrown: "com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read"
The exception occurs after waiting about 10 minutes during an SFTP transfer request, which is sending a small file to a server using the .UploadFile method.
An online thread suggests applying this method:
session.setConfig("kex", "diffie-hellman-group1-sha1");
But the library doesn't have the option.
Using: B4J V9.8
Jsch 1.3
Regards