Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
762 views
in .NET FTP by (220 points)
reopened by
Hi there,

We're getting this exception and I can't figure out why. I'm able to connect with the same credentials using an FTP Client from the same server but for some reason I can't get it to connect from my code. Below is a slightly version of the debug log. Any help would be appreciated.

Thanks!
Matt
INFO [LicenseProperties] 2 Jun 2015 19:36:27.749 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 2 Jun 2015 19:36:27.749 : Production license
DEBUG [FTPConnection] 2 Jun 2015 19:36:27.749 : Set LocalDirectory='C:\Windows\system32'
DEBUG [SecureFTPConnection] 2 Jun 2015 19:36:27.749 : Set LocalDirectory to C:\Windows\system32
INFO [LicenseProperties] 2 Jun 2015 19:36:27.749 : Licence expiry date: 12/31/9999
INFO [LicenseProperties] 2 Jun 2015 19:36:27.749 : Production license
DEBUG [HostNameResolver] 2 Jun 2015 19:36:27.749 : Resolving ftp.mysite.com
DEBUG [HostNameResolver] 2 Jun 2015 19:36:27.749 : Obtained 1 addresses
DEBUG [HostNameResolver] 2 Jun 2015 19:36:27.749 : IP address: 123.12.12.123
DEBUG [HostNameResolver] 2 Jun 2015 19:36:27.749 : ftp.mysite.com resolved to 123.12.12.123
DEBUG [SSHSCPClient] 2 Jun 2015 19:36:27.749 : Connecting directly to SFTP server 123.12.12.123:22
INFO [BaseSocket] 2 Jun 2015 19:36:27.749 : Connecting to 123.12.12.123:22 with timeout 120000 ms
DEBUG [BaseSocket] 2 Jun 2015 19:36:27.765 : Successfully connected to 123.12.12.123:22
DEBUG [SSHSCPClient] 2 Jun 2015 19:36:27.765 : Connected successfully to SFTP server 123.12.12.123:22
DEBUG [SSHConnection] 2 Jun 2015 19:36:27.765 : Beginning protocol negotiation
DEBUG [PlainSocket] 2 Jun 2015 19:36:27.765 : RepeatCallback received 48 bytes
DEBUG [ProtocolNegotiationHandler] 2 Jun 2015 19:36:27.765 : offset=0,length=48
DEBUG [ProtocolNegotiationHandler] 2 Jun 2015 19:36:27.765 : Read: 'SSH-2.0-Connect:Enterprise_UNIX_2.4.04 Build 00'
INFO [ProtocolNegotiationHandler] 2 Jun 2015 19:36:27.765 : Server version = 'SSH-2.0-Connect:Enterprise_UNIX_2.4.04 Build 00'
DEBUG [SSHUtil] 2 Jun 2015 19:36:27.765 : Major string = '2'
DEBUG [SSHUtil] 2 Jun 2015 19:36:27.765 : Minor string = '0'
DEBUG [SSHUtil] 2 Jun 2015 19:36:27.765 : Version 2.0
DEBUG [SSHUtil] 2 Jun 2015 19:36:27.765 : Protocol compatible
DEBUG [SSHConnection] 2 Jun 2015 19:36:27.765 : Server version=SSH-2.0-Connect:Enterprise_UNIX_2.4.04 Build 00
DEBUG [SSH2Connection] 2 Jun 2015 19:36:27.765 : Timeout=120000
DEBUG [SSHConnection] 2 Jun 2015 19:36:27.765 : Sending client version=SSH-2.0-edtFTPnet/PRO-8.3.0.20
DEBUG [SSH2Connection] 2 Jun 2015 19:36:27.765 : Starting key exchange
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : Sending SSH_MSG_KEXINIT
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : key exchange method=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : hostkey algorithms=ssh-dss,ssh-rsa
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : MACs=hmac-sha1,hmac-md5
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : MACs=hmac-sha1,hmac-md5
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : compression algorithms=none,zlib
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : compression algorithms=none,zlib
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.765 : Sent SSH_MSG_KEXINIT
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.765 : Reading SSH_MSG_KEXINIT reply
DEBUG [SSH2Connection] 2 Jun 2015 19:36:27.765 : Waiting for packet
DEBUG [PlainSocket] 2 Jun 2015 19:36:27.780 : RepeatCallback received 424 bytes
DEBUG [SSH2Connection] 2 Jun 2015 19:36:27.780 : Packet arrived
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : Processing SSH_MSG_KEXINIT reply
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote kex alg=diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided kex alg= DiffieHellmanGroup1Sha1
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote hostkey alg=ssh-rsa
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided hostkey alg= RSA
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote Cipher CS=aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided Cipher C->S= Blowfish
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote Cipher SC=aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided Cipher S->C= Blowfish
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote MAC CS=hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided MAC C->S= HMACSHA1
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote MAC SC=hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided MAC S->C= HMACSHA1
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote Comp CS=none,zlib
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided Comp C->S=None
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Remote Comp SC=none,zlib
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Decided Comp S->C=None
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : first_kex_packet_follows=False
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : Processed SSH_MSG_KEXINIT reply
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Sending SSH_MSG_KEXDH_INIT
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : DH_PRIME_GROUP1
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.780 : DH_PRIME_GROUP1
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Sent SSH_MSG_KEXDH_INIT
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.780 : Reading SSH_MSG_KEXDH_INIT reply
DEBUG [SSH2Connection] 2 Jun 2015 19:36:27.780 : Waiting for packet
DEBUG [PlainSocket] 2 Jun 2015 19:36:27.796 : RepeatCallback received 464 bytes
DEBUG [SSH2Connection] 2 Jun 2015 19:36:27.796 : Packet arrived
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Processing SSH_MSG_KEXDH_INIT reply
DEBUG [AbstractKeyExchanger] 2 Jun 2015 19:36:27.796 : DH_PRIME_GROUP1
ALL [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Data to hash: 
[ REMOVED ]
INFO [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Verifying host key
ALL [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Key: 
[ REMOVED ]
ALL [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Sig: 
[ REMOVED ]
ALL [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Hash: 
D9 D0 6A A5 AD C1 C7 78 F0 43 
FD F4 1B 67 75 C4 AA 13 A4 04 

DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Processed SSH_MSG_KEXDH_INIT reply successfully
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Sending SSH_MSG_NEWKEYS
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Sent SSH_MSG_NEWKEYS
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Established ciphers
DEBUG [ClientKeyExchanger] 2 Jun 2015 19:36:27.796 : Established MACs
DE

Please log in or register to answer this question.

Categories

...