by Mshelnutt » Sat Aug 25, 2012 7:32 am
ok, will do -
Let me ask this - what other items should I set
ServerValidation needs to be Automatic or AutomaticNoName
I am assuming I need to set the UserName, but not Password - correcT?
=====
My Logging shows:
DEBUG [SSHFTPClient] 24 Aug 2012 14:41:57.738 : HostKeyChecker checking for ssh-rsa public key of 'abccompany.com'
ERROR [SSHFTPClient] 24 Aug 2012 14:41:57.739 : Stored public key for host 'abccompany.com' does not match supplied key
DEBUG [ClientKeyExchanger] 24 Aug 2012 14:41:57.739 : Processed SSH_MSG_KEXDH_INIT reply - failed to verify hostkey
ERROR [SSHFTPClient] 24 Aug 2012 14:41:57.799 : Failed to connect - closing connection
ERROR [SSHFTPClient] 24 Aug 2012 14:41:57.799 : EnterpriseDT.Net.Ftp.Ssh.SFTPAuthenticationException: Authentication failure
ERROR [SSHFTPClient] 24 Aug 2012 14:41:57.799 : at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()
what happens if the customers supplied key is from their host name which is something like 'abccompany.interna.com' but the host I connect to is 'abccompany.com' - could that be the issue.
I have tried to use the CALLBACK feature - and I dont get the authentication error -
What happens there is when it goes to Connect() - it sits there - in that method and never returns.
I see in the log a lot of these repeated steps:
DEBUG [PlainSocket] 24 Aug 2012 16:04:23.846 : RepeatCallback received 68 bytes
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.846 : Packet arrived
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.847 : ProcessAuthenticationResponse: SSH_MSG_USERAUTH_INFO_REQUEST
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.847 : Prompt count = 1
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.847 : Prompt: Enter password:
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.847 : Sent SSH_MSG_USERAUTH_INFO_RESPONSE
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.847 : Waiting for packet
DEBUG [PlainSocket] 24 Aug 2012 16:04:23.941 : RepeatCallback received 76 bytes
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.941 : Packet arrived
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.941 : ProcessAuthenticationResponse: SSH_MSG_USERAUTH_FAILURE
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.941 : Auth partial success. Try: password,publickey,keyboard-interactive
DEBUG [SSH2Connection] 24 Aug 2012 16:04:23.941 : Waiting for packet