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.

Options
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)

Options

Topic review

Figuredit out

Figured out the issue

Scripted out the session and used that to capture the key and parameters.
MaxMutant

Need help with trying to figure out my script can't authenticate

Hey Everyone,
thanks for your help with this.
I am able to manually login with the user and password just fine from the client.
When I try to automate the process to run through an SSIS FTP Task, its just calling a txt file that has the following
option batch abort
option confirm Off
open sftp://CorityFTP:password@IPADDRESS -Hostkey=*
option transfer binary
cd /upload/
Get files
close
exit

The error logs return this and I don't know how to get around it.
. 2020-08-29 18:20:05.551 Host key matches cached key

. 2020-08-29 18:20:05.570 Initialised AES-256 SDCTR client->server encryption
. 2020-08-29 18:20:05.588 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2020-08-29 18:20:05.606 Initialised AES-256 SDCTR server->client encryption
. 2020-08-29 18:20:05.622 Initialised HMAC-SHA-256 server->client MAC algorithm
! 2020-08-29 18:20:05.728 Using username "CorityFTP".
. 2020-08-29 18:20:05.810 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2020-08-29 18:20:05.829 Attempting keyboard-interactive authentication
. 2020-08-29 18:20:05.895 Server refused keyboard-interactive authentication
. 2020-08-29 18:20:05.913 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2020-08-29 18:20:05.929 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2020-08-29 18:20:05.945 Using stored password.
. 2020-08-29 18:20:05.961 Sent password
. 2020-08-29 18:20:06.025 Password authentication failed
! 2020-08-29 18:20:06.046 Access denied
. 2020-08-29 18:20:06.065 Server offered these authentication methods: publickey,password,keyboard-interactive
. 2020-08-29 18:20:06.081 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2020-08-29 18:20:06.100 Disconnected: Unable to authenticate