Topic "Server refused keyboard-interactive authentication"

Author Message
zumzumzum

Guest


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
Advertisements
zumzumzum

Guest


FYI -
scp1.png (30.31 KB) [Download]

Description: (none)

zumzumzum

Guest


FYI -
scp2.png (28.19 KB) [Download]

Description: (none)

zumzumzum

Guest


Disregard! The issue was that the password had a character that needed to be escaped in powershell. Woops.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for sharing your solution.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License