keyboard-interactive authentication

Advertisement

Sakshi
Joined:
Posts:
3
Location:
DELHI,INDIA

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,316
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum