SSH <cfftp> throws com.jcraft.jsch.JSchException: Auth fail



SSH uses keys to communicate, there’s a host key and a user may have
their own key for authentication purposes.

The fingerprint verifies the client is connecting to the correct server
host key.
The public key is used to authenticate a user from the client side against
the server.

Different things


FYI: In Lucee which fixed - I added an option to show the debug output from JSch.

This might change slightly in the future, but to enable it as it is implemented now, add the system property lucee.debug.jsch=true. You can do that by passing the JVM option to the command that launches your Servlet container (e.g. Tomcat, Jetty, etc.) as follows:


Once enabled, all of the JSch debug output will be written to STDOUT, e.g. catalina.out, console, etc. (depending on your setup).