Problem applying custom patch for FTP (jsch-0.1.55)
We are setting up an SFTP connection via cfftp, and are currently receiving the following error:
"Error: Session.connect: java.io.IOException: End of IO Stream Read."
We have narrowed it down to the version of JSch, which is currently jsch-0.1.54. This will work if we use diffie-hellman-group-exchange-sha1 algorithm, but we need to use diffie-hellman-group-exchange-sha256, which produces the above error. Testing this outside of CF, we have managed to prove that it works successfully using jsch-0.1.55, while returning the same error above using jsch-0.1.54.
So we have been trying to update the CF FTP package to jsch-0.1.55, using the approach detailed here:
https://helpx.adobe.com/nz/coldfusion/kb/apply-custom-patch-coldfusion-2021.html
Which somewhat usefully has this exact update as it's example. It installs without issue (and we can see the dependency shown as jsch-0.1.55 in the FTP package in the administrator), but it still continues to pick up the jsch-0.1.54 library instead. We have tried removing this and tempoarily uninstalling the other packages that also list jsch-0.1.54 as a dependency (e.g. ZIP), purging cache, multiple CF service restarts etc, but have not had any luck in getting it to actually use jsch-0.1.55 instead.
I also tried to load it directly via javasettings/loadpaths (specifying a local dir where I had the jsch-0.1.55.jar), but no luck with that either.
Any pointers or suggestions as to where we are going wrong would be much appreciated.
