title: JSCH SFTP login using two factor authentication
body: <p>I am trying to connect to SFTP server using JSCH, server is configured for two factor authentication. But I am unable to find any option in JSCH to connect to the server using both password and keys at a time.
  Help me if anyone knows how to connect programmatically to SFTP server using two factor authentication using either JSCH or any other Java package.</p>