Post a reply

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


Passing login and password in a script

I am trying to pass login and password of my server in a .bat script. It works fine with interactive input from my keyboard but gives b/m error in log file when i try to pass it in my script.

Promt for Username appears and it exits after few seconds saying no instructions passed. How can i disable this prompt so it can use login and password passed in script file.

. 2017-05-22 16:05:41.753 Server refused keyboard-interactive authentication
. 2017-05-22 16:05:41.753 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2017-05-22 16:05:41.753 Prompt (password, "SSH password", <no instructions>, "&Password: ")