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


#21

Marianna,

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


#22

FYI: In Lucee 5.2.7.38 which fixed https://luceeserver.atlassian.net/browse/LDEV-1003 - 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:

-Dlucee.debug.jsch=true

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

HTH