JschConfigSessionFactory moved to org.eclipse.jgit.ssh.jsch and is deprecated and will be removed in a future version. Instead use org.eclipse.jgit.ssh.apache.
Here is an example of how this is used:
https://git.eclipse.org/r/plugins/gitiles/jgit/jgit/+/refs/heads/master/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java#206