Archived Forum Post

Index of archived forum posts


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:

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

(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


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.