login about faq

We are evaluating the SSH/SFTP component and I am running a windows service that regularly checks a remote SFTP directory. There will be periods when we get a few "Authentication failed or partial success" errors in a row when trying to "Connect" then everything will just start to work fine. Is this error (see below) always invalid credentials?

    DllDate: Mar 11 2016
    UnlockPrefix: 30-day trial from 2016-04-08
    Username: WC-IIS:wc-iis-svc$
    Architecture: Little Endian; 32-bit
    Language: .NET 4.5
    VerboseLogging: 0
    SshVersion: SSH-2.0-SSHD-CORE-0.11.0
    SftpVersion: 0
    login: clientlist.ftp_dev@weconvene.com
            svcName: ssh-userauth
            SentServiceReq: ssh-userauth
          ssh-userauth service accepted.
        AuthMethods: password,keyboard-interactive,publickey
          Sent login/password
          Authentication failed or partial success. (1)
          PartialSuccess1: 0
          AuthList: password,keyboard-interactive,publickey
            This is likely a simple invalid login and/or password error,
            meaning your application did not send the correct login and/or password.

asked Apr 11 '16 at 22:43

Jason%20W's gravatar image

Jason W

edited Apr 12 '16 at 09:17

jpbro's gravatar image

jpbro ♦

Hi Jason,

Being on the receiving end of problem reports from many thousands of customers helps me identify what is likely to be a problem internal to the Chilkat implementation, or something else. In this case, where SSH authentication is required for any use of the SSH/SFTP/SCP classes, any defect within Chilkat would 99.9% likely have been reported by others. Given that nobody else has reported anything similar, I would say it's most likely there's a problem with the app, and the best course of action is to do some more debugging to ensure the values passed to AuthenticatePw are correct. It doesn't mean it's impossible that the problem is not located within Chilkat, just improbable..


answered Apr 12 '16 at 10:45

chilkat's gravatar image

chilkat ♦♦


Yes, Chilkat working fine. The problem ended up being a per minute connection limit on the hosted SFTP server that we were sometimes hitting. KeepSessionLog property = true helped.

(Apr 13 '16 at 18:53) Jason W

Also.. make sure to turn on verbose logging by setting the VerboseLogging property = true. You can also check the session log by setting the KeepSessionLog property = true, and then examine the contents of the SessionLog. Perhaps the SSH server sent some sort of extraneous chatter at the exact moment the authentication response was expected. (Although Chilkat should handle it.) This information might give more clues as to what's transpiring...


answered Apr 12 '16 at 10:50

chilkat's gravatar image

chilkat ♦♦

Jason, thanks for posting the resolution to the problem. It's much appreciated. -Matt


answered Apr 14 '16 at 10:52

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 11 '16 at 22:43

Seen: 3,606 times

Last updated: Apr 14 '16 at 10:52

powered by OSQA