Hi,
following [1], i´m scripting a automatized task, hiding credentials (windows permissions on .bat file).
But when I run the .bat file:
. 2017-11-14 15:55:53.618 Host key matches cached key
. 2017-11-14 15:55:53.618 Initialised AES-256 SDCTR client->server encryption
. 2017-11-14 15:55:53.618 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2017-11-14 15:55:53.618 Initialised AES-256 SDCTR server->client encryption
. 2017-11-14 15:55:53.618 Initialised HMAC-SHA-256 server->client MAC algorithm
! 2017-11-14 15:55:53.659 Using username "tic".
. 2017-11-14 15:55:53.661 Server offered these authentication methods: publickey,password
. 2017-11-14 15:55:53.661 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2017-11-14 15:55:53.661 Using stored password.
. 2017-11-14 15:55:53.661 Sent password
. 2017-11-14 15:55:55.480 Password authentication failed
! 2017-11-14 15:55:55.480 Access denied
. 2017-11-14 15:55:55.481 Server offered these authentication methods: publickey,password
. 2017-11-14 15:55:55.481 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2017-11-14 15:55:55.481 Disconnected: Unable to authenticate
When I try to do through /command directly from command line, using the same URL session, works. As well as through GUI or using putty.
What can I be doing wrong?
[1] -
https://winscp.net/eng/docs/guide_protecting_credentials_for_automation