Keyboard-interactive authentication failed message in log file. Cannot sign on.

Advertisement

NicoL
Guest

Keyboard-interactive authentication failed message in log file. Cannot sign on.

What does this mean, in log file:
. 2022-09-16 09:19:31.018 Attempting keyboard-interactive authentication
. 2022-09-16 09:19:31.027 Prompt (keyboard interactive, "SSH server: password", "Enter password for XXXXXX", "Password:")
. 2022-09-16 09:19:31.027 Using stored password.
< 2022-09-16 09:19:31.027 Script: Authenticatie met vooraf ingevoerd wachtwoord.
. 2022-09-16 09:19:31.041 Keyboard-interactive authentication failed
! 2022-09-16 09:19:31.041 Access denied
< 2022-09-16 09:19:31.041 Script: Toegang geweigerd.
The password has some special chars (like ...: *^). Login via the GUI works fine.

Can the password cause this error for the Keyboard-interactive authentication failed??

Thank you in advance for response... !

Reply with quote

Advertisement

NicoL
Guest

Re: Keyboard-interactive authentication failed message in log file. Cannot sign on.

The password was changed, without special chars. It didn't work. Still same message in log :(
this is the whole log with domainnames and username replaced with xxxxx:
. 2022-09-16 14:13:12.368 --------------------------------------------------------------------------
. 2022-09-16 14:13:12.368 WinSCP Versie 5.21 (Build 12524 2022-06-15) (OS 10.0.19044 - Windows 10 Enterprise)
. 2022-09-16 14:13:12.368 Configuration: nul
. 2022-09-16 14:13:12.368 Log level: Normal
. 2022-09-16 14:13:12.368 Local account: xxxxxHOLLAND\N.xxxxx
. 2022-09-16 14:13:12.368 Working directory: C:\Program Files (x86)\WinSCP
. 2022-09-16 14:13:12.368 Process ID: 10628
. 2022-09-16 14:13:12.389 Ancestor processes: WinSCP_interface, devenv, explorer, ...
. 2022-09-16 14:13:12.390 Command-line: "C:\Program Files (x86)\WinSCP\winscp.exe" /xmllog="C:\Users\N.xxxxx\AppData\Local\Temp\wscp7318.01ED9395.tmp" /xmlgroups /xmllogrequired /nointeractiveinput /stdout /stdin /dotnet=5.21.0  /ini=nul /log="c:\temp\winscp\test.txt"  /console /consoleinstance=_29464_22687807_377
. 2022-09-16 14:13:12.390 Time zone: Current: GMT+2, Standard: GMT+1 (West-Europa (standaardtijd)), DST: GMT+2 (West-Europa (zomertijd)), DST Start: 27-3-2022, DST End: 30-10-2022
. 2022-09-16 14:13:12.390 Login time: vrijdag 16 september 2022 14:13:12
. 2022-09-16 14:13:12.390 --------------------------------------------------------------------------
. 2022-09-16 14:13:12.390 Script: Retrospectively logging previous script records:
> 2022-09-16 14:13:12.390 Script: option batch on
< 2022-09-16 14:13:12.390 Script: batch           on        
< 2022-09-16 14:13:12.390 Script: reconnecttime   120       
> 2022-09-16 14:13:12.390 Script: option confirm off
< 2022-09-16 14:13:12.390 Script: confirm         off       
> 2022-09-16 14:13:12.390 Script: option reconnecttime 120
< 2022-09-16 14:13:12.390 Script: reconnecttime   120       
> 2022-09-16 14:13:12.390 Script: open sftp://xxxxx:***@b2btest.xxxxx.com:9022 -hostkey="ssh-rsa 2048 Vn0mj5GW8Z1G4yhee9q4EQbaXUAd9CtawWU0jSksJjE;*" -timeout=15
. 2022-09-16 14:13:12.390 --------------------------------------------------------------------------
. 2022-09-16 14:13:12.390 Session name: xxxxx@b2btest.xxxxx.com (Ad-Hoc site)
. 2022-09-16 14:13:12.390 Host name: b2btest.xxxxx.com (Port: 9022)
. 2022-09-16 14:13:12.390 User name: xxxxx (Password: Yes, Key file: No, Passphrase: No)
. 2022-09-16 14:13:12.390 Tunnel: No
. 2022-09-16 14:13:12.390 Transfer Protocol: SFTP
. 2022-09-16 14:13:12.390 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2022-09-16 14:13:12.390 Disable Nagle: No
. 2022-09-16 14:13:12.390 Proxy: None
. 2022-09-16 14:13:12.390 Send buffer: 262144
. 2022-09-16 14:13:12.390 Compression: No
. 2022-09-16 14:13:12.390 Bypass authentication: No
. 2022-09-16 14:13:12.390 Try agent: Yes; Agent forwarding: No; KI: Yes; GSSAPI: Yes
. 2022-09-16 14:13:12.390 GSSAPI: KEX: No; Forwarding: No; Libs: gssapi32,sspi,custom; Custom: 
. 2022-09-16 14:13:12.390 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2022-09-16 14:13:12.390 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2022-09-16 14:13:12.390 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2022-09-16 14:13:12.390 Simple channel: Yes
. 2022-09-16 14:13:12.390 Return code variable: Autodetect; Lookup user groups: Auto
. 2022-09-16 14:13:12.390 Shell: default
. 2022-09-16 14:13:12.390 EOL: LF, UTF: Auto
. 2022-09-16 14:13:12.390 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2022-09-16 14:13:12.390 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No; Exit code 1 is error: No
. 2022-09-16 14:13:12.390 SFTP Bugs: Auto,Auto
. 2022-09-16 14:13:12.390 SFTP Server: default
. 2022-09-16 14:13:12.390 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2022-09-16 14:13:12.390 Cache directory changes: Yes, Permanent: Yes
. 2022-09-16 14:13:12.390 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2022-09-16 14:13:12.390 DST mode: Unix
. 2022-09-16 14:13:12.390 --------------------------------------------------------------------------
< 2022-09-16 14:13:12.390 Script: Bezig met zoeken naar doelcomputer...
. 2022-09-16 14:13:12.391 Looking up host "b2btest.xxxxx.com" for SSH connection
. 2022-09-16 14:13:12.395 Connecting to 185.136.0.251 port 9022
. 2022-09-16 14:13:12.408 Connected to 185.136.0.251
< 2022-09-16 14:13:12.408 Script: Bezig met verbinding maken met doelcomputer...
. 2022-09-16 14:13:12.408 We claim version: SSH-2.0-WinSCP_release_5.21
. 2022-09-16 14:13:12.408 Connected to 185.136.0.251
. 2022-09-16 14:13:12.421 Remote version: SSH-2.0-SFTP Server
. 2022-09-16 14:13:12.421 Using SSH protocol version 2
. 2022-09-16 14:13:12.422 Have a known host key of type rsa2
. 2022-09-16 14:13:12.422 Doing Diffie-Hellman group exchange
. 2022-09-16 14:13:12.453 Doing Diffie-Hellman key exchange using 4096-bit modulus and hash SHA-256 with a server-supplied group
. 2022-09-16 14:13:15.258 Host key fingerprint is:
. 2022-09-16 14:13:15.258 ssh-rsa 2048 SHA256:Vn0mj5GW8Z1G4yhee9q4EQbaXUAd9CtawWU0jSksJjE
< 2022-09-16 14:13:15.258 Script: Bezig met authenticatie...
. 2022-09-16 14:13:15.258 Host key matches configured key fingerprint
. 2022-09-16 14:13:15.258 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2022-09-16 14:13:15.258 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2022-09-16 14:13:15.258 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2022-09-16 14:13:15.258 Initialised HMAC-SHA-256 inbound MAC algorithm
! 2022-09-16 14:13:15.273 Using username "xxxxx".
< 2022-09-16 14:13:15.273 Script: Met gebruikersnaam "xxxxx".
. 2022-09-16 14:13:15.286 Server offered these authentication methods: password,publickey,keyboard-interactive
. 2022-09-16 14:13:15.286 Attempting keyboard-interactive authentication
. 2022-09-16 14:13:15.297 Prompt (keyboard interactive, "SSH server: password", "Enter password for xxxxx", "Password:")
. 2022-09-16 14:13:15.298 Using stored password.
< 2022-09-16 14:13:15.298 Script: Authenticatie met vooraf ingevoerd wachtwoord.
. 2022-09-16 14:13:15.319 Keyboard-interactive authentication failed
! 2022-09-16 14:13:15.319 Access denied
< 2022-09-16 14:13:15.319 Script: Toegang geweigerd.
. 2022-09-16 14:13:15.319 Server offered these authentication methods: password,publickey,keyboard-interactive
. 2022-09-16 14:13:15.319 Attempting keyboard-interactive authentication
. 2022-09-16 14:13:15.332 Prompt (keyboard interactive, "SSH server: password", "Enter password for xxxxx", "Password:")
. 2022-09-16 14:13:15.332 Prompting user for the credentials.
. 2022-09-16 14:13:15.332 Prompt cancelled.
. 2022-09-16 14:13:15.332 User aborted at keyboard-interactive authentication prompt
. 2022-09-16 14:13:15.333 Attempt to close connection due to fatal exception:
* 2022-09-16 14:13:15.333 **Verbinding is onverwacht verbroken.** Server stuurde de opdrachtbeëindigingsstatus 0.
. 2022-09-16 14:13:15.333 Closing connection.
< 2022-09-16 14:13:15.333 Script: Verbinding is onverwacht verbroken. Server stuurde de opdrachtbeëindigingsstatus 0.
< 2022-09-16 14:13:15.333 Authenticatielogboek (bekijk het sessielogboek voor meer gegevens):
< 2022-09-16 14:13:15.333 Met gebruikersnaam "xxxxx".
< 2022-09-16 14:13:15.333 Toegang geweigerd.
< 2022-09-16 14:13:15.333 
< 2022-09-16 14:13:15.333 Authenticatie mislukt.

Reply with quote

NicoL
Guest

log gui session

. 2022-09-19 11:46:40.382 --------------------------------------------------------------------------
. 2022-09-19 11:46:40.383 WinSCP Versie 5.21 (Build 12524 2022-06-15) (OS 10.0.19044 - Windows 10 Enterprise)
. 2022-09-19 11:46:40.383 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2022-09-19 11:46:40.383 Log level: Normal, Logging passwords
. 2022-09-19 11:46:40.383 Local account: xxxxxHOLLAND\N.xxxxx
. 2022-09-19 11:46:40.383 Working directory: C:\Program Files (x86)\WinSCP
. 2022-09-19 11:46:40.383 Process ID: 19628
. 2022-09-19 11:46:40.404 Ancestor processes: explorer, ...
. 2022-09-19 11:46:40.404 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe" 
. 2022-09-19 11:46:40.404 Time zone: Current: GMT+2, Standard: GMT+1 (West-Europa (standaardtijd)), DST: GMT+2 (West-Europa (zomertijd)), DST Start: 27-3-2022, DST End: 30-10-2022
. 2022-09-19 11:46:40.404 Login time: maandag 19 september 2022 11:46:40
. 2022-09-19 11:46:40.404 --------------------------------------------------------------------------
. 2022-09-19 11:46:40.404 Session name: xxxxx-TEST (Site)
. 2022-09-19 11:46:40.404 Host name: b2btest.xxxxx.com (Port: 9022)
. 2022-09-19 11:46:40.405 User name: xxxxx (Password: xxxxx, Key file: No, Passphrase: No)
. 2022-09-19 11:46:40.405 Tunnel: No
. 2022-09-19 11:46:40.405 Transfer Protocol: SFTP (SCP)
. 2022-09-19 11:46:40.405 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2022-09-19 11:46:40.405 Disable Nagle: No
. 2022-09-19 11:46:40.405 Proxy: None
. 2022-09-19 11:46:40.405 Send buffer: 262144
. 2022-09-19 11:46:40.405 Compression: No
. 2022-09-19 11:46:40.405 Bypass authentication: No
. 2022-09-19 11:46:40.405 Try agent: Yes; Agent forwarding: No; KI: Yes; GSSAPI: Yes
. 2022-09-19 11:46:40.405 GSSAPI: KEX: No; Forwarding: No; Libs: gssapi32,sspi,custom; Custom: 
. 2022-09-19 11:46:40.405 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2022-09-19 11:46:40.405 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2022-09-19 11:46:40.405 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2022-09-19 11:46:40.405 Simple channel: Yes
. 2022-09-19 11:46:40.405 Return code variable: Autodetect; Lookup user groups: Auto
. 2022-09-19 11:46:40.405 Shell: default
. 2022-09-19 11:46:40.405 EOL: LF, UTF: Auto
. 2022-09-19 11:46:40.405 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2022-09-19 11:46:40.405 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No; Exit code 1 is error: No
. 2022-09-19 11:46:40.405 SFTP Bugs: Auto,Auto
. 2022-09-19 11:46:40.405 SFTP Server: default
. 2022-09-19 11:46:40.405 Local directory: \\xxxxxsrv15\xxxxx data\Inkoop\EdifactRespons\50143, Remote directory: /from, Update: Yes, Cache: Yes
. 2022-09-19 11:46:40.405 Cache directory changes: Yes, Permanent: Yes
. 2022-09-19 11:46:40.405 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2022-09-19 11:46:40.405 DST mode: Unix
. 2022-09-19 11:46:40.405 --------------------------------------------------------------------------
. 2022-09-19 11:46:40.468 Looking up host "b2btest.xxxxx.com" for SSH connection
. 2022-09-19 11:46:40.468 Connecting to 185.136.0.251 port 9022
. 2022-09-19 11:46:40.478 Connected to 185.136.0.251
. 2022-09-19 11:46:40.500 We claim version: SSH-2.0-WinSCP_release_5.21
. 2022-09-19 11:46:40.500 Connected to 185.136.0.251
. 2022-09-19 11:46:40.500 Remote version: SSH-2.0-SFTP Server
. 2022-09-19 11:46:40.500 Using SSH protocol version 2
. 2022-09-19 11:46:40.501 Have a known host key of type rsa2
. 2022-09-19 11:46:40.511 Doing Diffie-Hellman group exchange
. 2022-09-19 11:46:40.536 Doing Diffie-Hellman key exchange using 4096-bit modulus and hash SHA-256 with a server-supplied group
. 2022-09-19 11:46:43.347 Host key fingerprint is:
. 2022-09-19 11:46:43.347 ssh-rsa 2048 SHA256:Vn0mj5GW8Z1G4yhee9q4EQbaXUAd9CtawWU0jSksJjE
. 2022-09-19 11:46:43.384 Host key matches cached key
. 2022-09-19 11:46:43.384 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2022-09-19 11:46:43.384 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2022-09-19 11:46:43.385 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2022-09-19 11:46:43.385 Initialised HMAC-SHA-256 inbound MAC algorithm
! 2022-09-19 11:46:43.397 Using username "xxxxx".
. 2022-09-19 11:46:43.426 Server offered these authentication methods: password,publickey,keyboard-interactive
. 2022-09-19 11:46:43.426 Attempting keyboard-interactive authentication
. 2022-09-19 11:46:43.437 Prompt (keyboard interactive, "SSH server: password", "Enter password for xxxxx", "Password:")
. 2022-09-19 11:46:43.437 Using stored password.
. 2022-09-19 11:46:43.476 Access granted
. 2022-09-19 11:46:43.476 Opening main session channel
. 2022-09-19 11:46:43.487 Opened main channel
. 2022-09-19 11:46:43.514 --------------------------------------------------------------------------
. 2022-09-19 11:46:43.514 Using SFTP protocol.
. 2022-09-19 11:46:43.515 Doing startup conversation with host.
> 2022-09-19 11:46:43.541 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2022-09-19 11:46:43.541 Started a shell/command
< 2022-09-19 11:46:43.551 Type: SSH_FXP_VERSION, Size: 95, Number: -1
. 2022-09-19 11:46:43.551 SFTP version 4 negotiated.
. 2022-09-19 11:46:43.551 Server requests EOL sequence "\r\n".
. 2022-09-19 11:46:43.551 Server software: Maverick SSHD 1.7.32 (0) by JADAPTIVE Limited
. 2022-09-19 11:46:43.551 We will use UTF-8 strings as it is mandatory with SFTP version 4 and newer
. 2022-09-19 11:46:43.551 Changing directory to "/from".
. 2022-09-19 11:46:43.551 Getting real path for '/from'
> 2022-09-19 11:46:43.551 Type: SSH_FXP_REALPATH, Size: 14, Number: 1552
< 2022-09-19 11:46:43.574 Type: SSH_FXP_NAME, Size: 65, Number: 1552
. 2022-09-19 11:46:43.574 Real path is '/from'
. 2022-09-19 11:46:43.574 Trying to open directory "/from".
> 2022-09-19 11:46:43.574 Type: SSH_FXP_LSTAT, Size: 18, Number: 1799
< 2022-09-19 11:46:43.594 Type: SSH_FXP_ATTRS, Size: 52, Number: 1799
. 2022-09-19 11:46:43.594 Getting current directory name.
. 2022-09-19 11:46:43.686 Listing directory "/from".
> 2022-09-19 11:46:43.687 Type: SSH_FXP_OPENDIR, Size: 14, Number: 2059
< 2022-09-19 11:46:43.706 Type: SSH_FXP_HANDLE, Size: 10, Number: 2059
> 2022-09-19 11:46:43.706 Type: SSH_FXP_READDIR, Size: 10, Number: 2316
< 2022-09-19 11:46:43.726 Type: SSH_FXP_NAME, Size: 84, Number: 2316
> 2022-09-19 11:46:43.727 Type: SSH_FXP_READDIR, Size: 10, Number: 2572
< 2022-09-19 11:46:43.739 Type: SSH_FXP_STATUS, Size: 49, Number: 2572
< 2022-09-19 11:46:43.739 Status code: 1
> 2022-09-19 11:46:43.739 Type: SSH_FXP_CLOSE, Size: 10, Number: 2820
. 2022-09-19 11:46:43.739 xxxxx_ORDRSP_4892019.edi;-;1676;2022-09-16T07:41:31.000Z;4;"200" [0];"100" [0];rw-------;0
. 2022-09-19 11:46:43.740 ..;D;0;1899-12-30T01:00:00.000Z;0;"" [0];"" [0];---------;0
. 2022-09-19 11:46:43.778 Startup conversation with host finished.

Reply with quote

Advertisement

You can post new topics in this forum