Post a reply

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: Server refused keyboard-interactive authentication

Please attach complete session log files both from GUI and script.
Guest

Re: Server refused keyboard-interactive authentication

martin wrote:

Were you able to connect from GUI or any other SSH client?


Yes, I can access it from the GUI on the same machine, just not from the automated script file.
martin

Re: Server refused keyboard-interactive authentication

Were you able to connect from GUI or any other SSH client?
spmcclellan

Server refused keyboard-interactive authentication

Hello, I am using the following command in my script file to pull some files from a site automatically:

open sftp://username:password@sftpSiteURL

And these are my results:

2012-09-04 10:15:16.566 Looking up host "sftp site"
. 2012-09-04 10:15:16.582 Connecting to xxx.xxx.xxx.xxx port 10022
. 2012-09-04 10:15:16.644 Server version: SSH-2.0-Connect:Enterprise_UNIX_2.4.03
. 2012-09-04 10:15:16.644 Using SSH protocol version 2
. 2012-09-04 10:15:16.644 We claim version: SSH-2.0-WinSCP_release_4.3.9
. 2012-09-04 10:15:16.660 Doing Diffie-Hellman group exchange
. 2012-09-04 10:15:16.753 Doing Diffie-Hellman key exchange with hash SHA-1
. 2012-09-04 10:15:17.331 Host key fingerprint is:
. 2012-09-04 10:15:17.331 ssh-rsa 1024 df:c9:e2:93:d2:93:21:6a:a3:62:e1:93:9a:c1:ff:55
. 2012-09-04 10:15:17.331 Initialised AES-256 CBC client->server encryption
. 2012-09-04 10:15:17.331 Initialised HMAC-SHA1 client->server MAC algorithm
. 2012-09-04 10:15:17.331 Initialised AES-256 CBC server->client encryption
. 2012-09-04 10:15:17.331 Initialised HMAC-SHA1 server->client MAC algorithm
. 2012-09-04 10:15:17.424 Pageant is running. Requesting keys.
. 2012-09-04 10:15:17.424 Pageant has 0 SSH-2 keys
! 2012-09-04 10:15:17.424 Using username "xxxxxxx".
. [color=red]2012-09-04 10:15:17.440 Attempting keyboard-interactive authentication
. 2012-09-04 10:15:17.471 Server refused keyboard-interactive authentication
. 2012-09-04 10:15:17.471 Disconnected: No supported authentication methods available (server sent: publickey,keyboard-interactive)
[/color]

Can anyone help me determine what I am missing here?
Thank you in advance for you assistance.