Archived Forum Post

Index of archived forum posts

Question:

SSH AuthenticatePW fails on target PC

Nov 20 '15 at 13:03

SSH AuthenticatePW works on development computer perfectly, every time. When the app is installed on the PC where it needs to run, it fails to login with the following LastErrorText:

ChilkatLog:
  AuthenticatePw:
    DllDate: Mar  6 2015
    ChilkatVersion: 9.5.0.48
    UnlockPrefix: ******
    Username: *****
    Architecture: Little Endian; 32-bit
    Language: .NET 4.5
    VerboseLogging: 0
    SshVersion: SSH-2.0-OpenSSH_6.6
    sshAuthenticatePw:
      requestUserAuthService:
        sendServiceRequest:
          svcName: ssh-userauth
          SentServiceReq: ssh-userauth
        --sendServiceRequest
        ssh-userauth service accepted.
      --requestUserAuthService
      Error reading userauth response.
    --sshAuthenticatePw
    Failed.
  --AuthenticatePw
--ChilkatLog

(The user name and password have been verified, the destination device is physically the same for all computers. When I use PuTTY with the same user name and password, I can log in successfully. So there is no problem with the network connection.

What could be the cause of this authentication failure? Thanks for your help


Answer

The root cause of this problem turned out to be that authentication was timing out before completion. Increasing the Idle Timeout to 30 seconds allowed authentication to take place. Thanks to Chilkat for assistance in tracing this through to the solution.