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

martin

Re: re:

Thanks for sharing your solution.
zumzumzum

re:

Disregard! The issue was that the password had a character that needed to be escaped in powershell. Woops.
zumzumzum

re

FYI -
zumzumzum

re

FYI -
zumzumzum

Server refused keyboard-interactive authentication

I'm able to connect to an SFTP site using the GUI but when I try to use the same credentials in a Powershell script, I get the error below. Any suggestions on this? Thanks!

. 2015-06-18 08:52:27.986 Looking up host "[redacted]"
. 2015-06-18 08:52:27.986 Connecting to [redacted] port 22
. 2015-06-18 08:52:28.080 Server version: SSH-2.0-OpenSSH_5.6
. 2015-06-18 08:52:28.080 Using SSH protocol version 2
. 2015-06-18 08:52:28.080 We claim version: SSH-2.0-WinSCP_release_5.7.1
. 2015-06-18 08:52:28.127 Doing Diffie-Hellman group exchange
. 2015-06-18 08:52:28.471 Doing Diffie-Hellman key exchange with hash SHA-256
. 2015-06-18 08:52:29.736 Verifying host key rsa2 [redacted]
. 2015-06-18 08:52:29.736 Host key matches configured key
. 2015-06-18 08:52:29.736 Host key fingerprint is:
. 2015-06-18 08:52:29.736 ssh-rsa 2048 [redacted]
. 2015-06-18 08:52:29.736 Initialised AES-256 SDCTR client->server encryption
. 2015-06-18 08:52:29.736 Initialised HMAC-SHA1 client->server MAC algorithm
. 2015-06-18 08:52:29.736 Initialised AES-256 SDCTR server->client encryption
. 2015-06-18 08:52:29.736 Initialised HMAC-SHA1 server->client MAC algorithm
! 2015-06-18 08:52:30.096 Using username "[redacted]".
. 2015-06-18 08:52:30.143 Attempting keyboard-interactive authentication
. 2015-06-18 08:52:30.189 Server refused keyboard-interactive authentication
. 2015-06-18 08:52:30.189 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2015-06-18 08:52:30.189 Using stored password.
. 2015-06-18 08:52:30.189 Sent password
. 2015-06-18 08:52:30.236 Password authentication failed
! 2015-06-18 08:52:30.236 Access denied
. 2015-06-18 08:52:30.236 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2015-06-18 08:52:30.236 Disconnected: Unable to authenticate