Topic "Prompt (Keyboard interactive, "SSH server authentication""

Author Message
GuestGuy147

Guest


We recently upgraded to WinSCP Version 5.7.2. Our FTP client required us to change the password for our account. I completed the change in our executable file but now I'm getting the following error in our logs when the batch script is ran via scheduled task. I have tried looking for all the places to get an idea of how to associate this via script but can't find anything. I appreciate any assistance.

Below is the log file.

. 2015-09-02 08:40:01.441 --------------------------------------------------------------------------
. 2015-09-02 08:40:01.441 WinSCP Version 5.7.2 (Build 5316) (OS 6.2.9200 - Windows Server 2012 Standard)
. 2015-09-02 08:40:01.441 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2015-09-02 08:40:01.441 Log level: Normal
. 2015-09-02 08:40:01.441 Local account: ##########
. 2015-09-02 08:40:01.441 Working directory: D:\EHR\Program
. 2015-09-02 08:40:01.441 Process ID: 4660
. 2015-09-02 08:40:01.441 Command-line: "D:\ehr\Program\winscp.exe" /log=D:\ehr\LOG\ehr_09022015.log /console /script="D:\EHR\Program\ehr.txt"
. 2015-09-02 08:40:01.441 Time zone: Current: GMT-4, Standard: GMT-5 (Eastern Standard Time), DST: GMT-4 (Eastern Daylight Time), DST Start: 3/8/2015, DST End: 11/1/2015
. 2015-09-02 08:40:01.441 Login time: Wednesday, September 2, 2015 8:40:01 AM
. 2015-09-02 08:40:01.441 --------------------------------------------------------------------------
. 2015-09-02 08:40:01.441 Script: Retrospectively logging previous script records:
> 2015-09-02 08:40:01.441 Script: open #########@eft.######s.com -hostkey=*
. 2015-09-02 08:40:01.441 --------------------------------------------------------------------------
. 2015-09-02 08:40:01.441 Session name: ########@eft.######s.com (Ad-Hoc site)
. 2015-09-02 08:40:01.441 Host name: eft.######s.com (Port: 22)
. 2015-09-02 08:40:01.441 User name: ######(Password: No, Key file: No)
. 2015-09-02 08:40:01.441 Tunnel: No
. 2015-09-02 08:40:01.441 Transfer Protocol: SFTP (SCP)
. 2015-09-02 08:40:01.441 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2015-09-02 08:40:01.441 Disable Nagle: No
. 2015-09-02 08:40:01.441 Proxy: none
. 2015-09-02 08:40:01.441 Send buffer: 262144
. 2015-09-02 08:40:01.441 SSH protocol version: 2; Compression: No
. 2015-09-02 08:40:01.441 Bypass authentication: No
. 2015-09-02 08:40:01.441 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2015-09-02 08:40:01.441 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2015-09-02 08:40:01.441 KEX: dh-gex-sha1,dh-group14-sha1,dh-group1-sha1,rsa,WARN
. 2015-09-02 08:40:01.441 SSH Bugs: A,A,A,A,A,A,A,A,A,A,A
. 2015-09-02 08:40:01.441 Simple channel: Yes
. 2015-09-02 08:40:01.441 Return code variable: Autodetect; Lookup user groups: A
. 2015-09-02 08:40:01.441 Shell: default
. 2015-09-02 08:40:01.441 EOL: 0, UTF: 2
. 2015-09-02 08:40:01.441 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2015-09-02 08:40:01.441 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2015-09-02 08:40:01.441 SFTP Bugs: A,A
. 2015-09-02 08:40:01.441 SFTP Server: default
. 2015-09-02 08:40:01.441 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2015-09-02 08:40:01.441 Cache directory changes: Yes, Permanent: Yes
. 2015-09-02 08:40:01.441 DST mode: 1
. 2015-09-02 08:40:01.441 --------------------------------------------------------------------------
. 2015-09-02 08:40:01.441 Looking up host "eft.#######s.com"
. 2015-09-02 08:40:01.473 Connecting to 12.##.#9.252 port 22
. 2015-09-02 08:40:01.551 Server version: SSH-2.0-1.82_sshlib GlobalSCAPE
. 2015-09-02 08:40:01.551 Using SSH protocol version 2
. 2015-09-02 08:40:01.551 We claim version: SSH-2.0-WinSCP_release_5.7.2
. 2015-09-02 08:40:01.582 Doing Diffie-Hellman group exchange
. 2015-09-02 08:40:01.816 Doing Diffie-Hellman key exchange with hash SHA-1
. 2015-09-02 08:40:02.112 Verifying host key rsa2 0x11,0xb6d46d66f74ebff9 fa1e70c9b5f4d3b6 196b83e374dcbc9f ab4071b62cce5017 1f9545af616e38d6 53df445d229a7b52 675302e6dec8d211 01b9221b5f9b03f9 523947e73ad863e4 b948c6685490fdd1 1c7bc6487b9eecac a2684daeaf9c4f06 ec842552628c2063 7fabc5ace4760fec ab65eb87f7bb2113 9b09b119c53c20f4 3bbcdf8cc11e337e a1c99cfbcc902bb5 8dadc9ed086d5499 d7955b0838a1f62e d22ca0926a0983a4 5d908171490e44a0 90ca5f25b3e34eed 3b9ef6c37daf5688 02eab27a6c4c80dc 84b8745279bf7528 69626eaf74644b6c 1102c689506607a5 55c43ee8a7a4bfb6 846cc41cd08e653e 631cc3d6a9ea3166 cce3fdd29cb83d0f with fingerprint ssh-rsa 2048 30:34:21:5d:ac:08:a2:78:90:b1:af:97:a5:c8:77:c0
* 2015-09-02 08:40:02.112 WARNING! Giving up security and accepting any host key as configured!
. 2015-09-02 08:40:02.112 Host key fingerprint is:
. 2015-09-02 08:40:02.112 ssh-rsa 2048 30:34:21:5d:ac:08:a2:78:90:b1:af:97:a5:c8:77:c0
. 2015-09-02 08:40:02.112 Initialised AES-256 CBC client->server encryption
. 2015-09-02 08:40:02.112 Initialised HMAC-SHA1 client->server MAC algorithm
. 2015-09-02 08:40:02.112 Initialised AES-256 CBC server->client encryption
. 2015-09-02 08:40:02.112 Initialised HMAC-SHA1 server->client MAC algorithm
! 2015-09-02 08:40:02.346 Using username "######".
. 2015-09-02 08:40:02.377 Attempting keyboard-interactive authentication
. 2015-09-02 08:40:02.409 Prompt (keyboard interactive, "SSH server authentication", "Using keyboard-interactive authentication.", "Enter password: ")
. 2015-09-02 08:40:12.455 Disconnected: Unable to authenticate
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
I'm not really sure what you ask for.

You didn't specify any password in the script. So WinSCP cannot login.
Guest




prikryl wrote:
You didn't specify any password in the script. So WinSCP cannot login.


I am not sure if this was the original poster's question or not...
But some sites do not require a password when you are exchanging keys...

That is the problem I am having... There IS NO password for the account... I can disable this check in the GUI... But have not found the correct option for "bypass-authentication"...

Anyone with ideas?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Anonymous wrote:
That is the problem I am having... There IS NO password for the account... I can disable this check in the GUI... But have not found the correct option for "bypass-authentication"...

If you mean the Bypass authentication entirely, use a raw session setting SshNoUserAuth:
http://winscp.net/eng/docs/rawsettings
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