keyboard-interactive authentication
When scheduling the batch through Task Scheduler, the system does not pick Username & password from the script, it shows Response="". Is it because WinSCP uses keyboard-interactive authentication by default.
If yes, then kindly let us know how to turn off keyboard-interactive authentication and picks the username & password from the script.
Log File:
. 2017-07-13 15:00:02.670 Prompt (username, "SSH login name", <no instructions>, "login as: ")
. 2017-07-13 15:00:12.752 Response: ""
. 2017-07-13 15:00:12.815 Server offered these authentication methods: password,keyboard-interactive
. 2017-07-13 15:00:12.815 Attempting keyboard-interactive authentication
. 2017-07-13 15:00:12.877 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "Enter password: ")
. 2017-07-13 15:00:22.923 Disconnected: Unable to authenticate
If yes, then kindly let us know how to turn off keyboard-interactive authentication and picks the username & password from the script.
Log File:
. 2017-07-13 15:00:02.670 Prompt (username, "SSH login name", <no instructions>, "login as: ")
. 2017-07-13 15:00:12.752 Response: ""
. 2017-07-13 15:00:12.815 Server offered these authentication methods: password,keyboard-interactive
. 2017-07-13 15:00:12.815 Attempting keyboard-interactive authentication
. 2017-07-13 15:00:12.877 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "Enter password: ")
. 2017-07-13 15:00:22.923 Disconnected: Unable to authenticate