Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: keyboard-interactive authentication

It does not look like this has anything to do with keyboard-interactive authentication.

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

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