We do have java code to perform the sftp operation through JSch lib. By default JSch lib has below order of authentication modes for sftp operation. gssapi-with-mic,publickey,keyboard-interactive,password
If Kerberos is disable on server, then it would move to next authentication mode while performing the sftp command. But if Kerberos is enabled on server, then server would be prompted for credentials while performing sftp operation.
So How we can pro-grammatically pass the credentials to Kerberos prompts (if Kerberos enabled on server).
Thanks, Hrushi