Server refused keyboard-interactive authentication

Advertisement

zumzumzum
Guest

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

Reply with quote

Advertisement

zumzumzum
Guest

re:

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

Reply with quote

Advertisement

You can post new topics in this forum