Search code examples
javasshsftpkerberosjsch

JSch library Kerberos support


Can you please help me on below questions -

  • Does below jars supports the Kerberos authentication while performing the SFTP operations through jsch library? jsch-0.1.51.jar jsch-0.1.49.jar

  • is Kerberos authentication by default supported by library or do we need to take care to enable the Kerberos authentication? how we can do this?


Solution

  • Yes, JSch supports Kerberos.

    And, yes it's enabled by default (what actually sometimes causes problems to those, who do not want to use Kerberos).

    Kerberos was supported even back in 0.1.49. But you should always use the latest version of JSch (0.1.55 as of now). It's security software after all!