I need to access a server that prompts an 'Authentication Banner' with a 'continue' button after providing username and password.
How to process the 'Continue' message while using JSCH?
The login is not successful as it is expecting the 'continue' input for the interactive message and I am not sure how to set it in the code (for example using sample code such as http://vigilance.co.in/java-program-for-downloading-file-from-sftp-server/)
Here is stack trace:
INFO: SSH_MSG_NEWKEYS sent
INFO: SSH_MSG_NEWKEYS received
INFO: SSH_MSG_SERVICE_REQUEST sent
INFO: SSH_MSG_SERVICE_ACCEPT received
INFO: Authentications that can continue: publickey,keyboard-interactive,password
INFO: Next authentication method: publickey
INFO: Authentications that can continue: keyboard-interactive,password
INFO: Next authentication method: keyboard-interactive
INFO: Disconnecting from xxxx.xxx.xxx.xxx.xx port 22
com.jcraft.jsch.JSchException: Auth cancel
Log in to post a comment.