- The error is the same regardless of whether we use active mode or passive mode.
- We attempt to connect using username + password (works fine when using the Filezilla client)
Any idea about what it is that we are doing wrong? Here is the log:
DEBUG [SFTPMessageStore] 27 Mar 2014 23:11:27.685 : Set timeout=10000
INFO [LicenseProperties] 27 Mar 2014 23:11:27.707 : Licence expiry date: 31/12/9999
INFO [LicenseProperties] 27 Mar 2014 23:11:27.707 : Production license
DEBUG [FTPConnection] 27 Mar 2014 23:11:27.711 : Set LocalDirectory='[...]'
DEBUG [SecureFTPConnection] 27 Mar 2014 23:11:27.712 : Set LocalDirectory to [...]
INFO [LicenseProperties] 27 Mar 2014 23:11:27.720 : Licence expiry date: 31/12/9999
INFO [LicenseProperties] 27 Mar 2014 23:11:27.721 : Production license
DEBUG [SSHSCPClient] 27 Mar 2014 23:11:27.723 : Setting up fallback kbi prompt based on supplied password
DEBUG [HostNameResolver] 27 Mar 2014 23:11:27.933 : Resolving [censored]
DEBUG [HostNameResolver] 27 Mar 2014 23:11:28.462 : Obtained 1 addresses
DEBUG [HostNameResolver] 27 Mar 2014 23:11:28.474 : IP address: [censored]
DEBUG [HostNameResolver] 27 Mar 2014 23:11:28.474 : portal.conformis.com resolved to [censored]
DEBUG [SSHSCPClient] 27 Mar 2014 23:11:28.474 : Connecting directly to SFTP server [censored]:22
INFO [BaseSocket] 27 Mar 2014 23:11:28.480 : Connecting to [censored]:22 with timeout 10000 ms
DEBUG [BaseSocket] 27 Mar 2014 23:11:28.700 : Successfully connected to [censored]:22
DEBUG [SSHSCPClient] 27 Mar 2014 23:11:28.700 : Connected successfully to SFTP server [censored]:22
DEBUG [SSHConnection] 27 Mar 2014 23:11:28.702 : Beginning protocol negotiation
DEBUG [PlainSocket] 27 Mar 2014 23:11:28.815 : FTPConnection.1RepeatCallback received 33 bytes
DEBUG [ProtocolNegotiationHandler] 27 Mar 2014 23:11:28.819 : FTPConnection.1offset=0,length=33
DEBUG [ProtocolNegotiationHandler] 27 Mar 2014 23:11:28.819 : FTPConnection.1Read: 'SSH-2.0-GoAnywhereServices3.4.2
'
INFO [ProtocolNegotiationHandler] 27 Mar 2014 23:11:28.819 : FTPConnection.1Server version = 'SSH-2.0-GoAnywhereServices3.4.2'
DEBUG [SSHUtil] 27 Mar 2014 23:11:28.822 : FTPConnection.1Major string = '2'
DEBUG [SSHUtil] 27 Mar 2014 23:11:28.822 : FTPConnection.1Minor string = '0'
DEBUG [SSHUtil] 27 Mar 2014 23:11:28.822 : FTPConnection.1Version 2.0
DEBUG [SSHUtil] 27 Mar 2014 23:11:28.822 : FTPConnection.1Protocol compatible
DEBUG [SSHConnection] 27 Mar 2014 23:11:28.825 : Server version=SSH-2.0-GoAnywhereServices3.4.2
DEBUG [SSH2Connection] 27 Mar 2014 23:11:28.829 : Timeout=10000
DEBUG [SSHConnection] 27 Mar 2014 23:11:28.832 : Sending client version=SSH-2.0-edtFTPnet/PRO-8.5.0.20
DEBUG [SSH2Connection] 27 Mar 2014 23:11:28.840 : Starting key exchange
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.857 : Sending SSH_MSG_KEXINIT
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.866 : key exchange method=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.869 : hostkey algorithms=ssh-dss,ssh-rsa
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.873 : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.873 : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.875 : MACs=hmac-sha1,hmac-md5
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.875 : MACs=hmac-sha1,hmac-md5
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.879 : compression algorithms=none,zlib
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.879 : compression algorithms=none,zlib
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.886 : Sent SSH_MSG_KEXINIT
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:28.886 : Reading SSH_MSG_KEXINIT reply
DEBUG [SSH2Connection] 27 Mar 2014 23:11:28.890 : Waiting for packet
DEBUG [PlainSocket] 27 Mar 2014 23:11:28.985 : FTPConnection.1RepeatCallback received 336 bytes
DEBUG [SSH2Connection] 27 Mar 2014 23:11:28.993 : Packet arrived
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.997 : Processing SSH_MSG_KEXINIT reply
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:28.999 : Remote kex alg=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:29.001 : Decided kex alg= DiffieHellmanGroup1Sha1
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:29.001 : Remote hostkey alg=ssh-dss,ssh-rsa
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:29.002 : Decided hostkey alg= DSA
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.005 : Remote Cipher CS=aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.006 : Decided Cipher C->S= AES128
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.006 : Remote Cipher SC=aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.006 : Decided Cipher S->C= AES128
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.006 : Remote MAC CS=hmac-sha1
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.007 : Decided MAC C->S= HMACSHA1
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.007 : Remote MAC SC=hmac-sha1
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.007 : Decided MAC S->C= HMACSHA1
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.007 : Remote Comp CS=none,zlib
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.008 : Decided Comp C->S=None
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.008 : Remote Comp SC=none,zlib
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.008 : Decided Comp S->C=None
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.008 : first_kex_packet_follows=False
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:29.008 : Processed SSH_MSG_KEXINIT reply
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.009 : Sending SSH_MSG_KEXDH_INIT
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:29.010 : DH_PRIME_GROUP1
DEBUG [AbstractKeyExchanger] 27 Mar 2014 23:11:29.029 : DH_PRIME_GROUP1
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.071 : Sent SSH_MSG_KEXDH_INIT
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.071 : Reading SSH_MSG_KEXDH_INIT reply
DEBUG [SSH2Connection] 27 Mar 2014 23:11:29.071 : Waiting for packet
DEBUG [PlainSocket] 27 Mar 2014 23:11:29.238 : FTPConnection.1RepeatCallback received 56 bytes
DEBUG [SSH2Connection] 27 Mar 2014 23:11:29.238 : Packet arrived
DEBUG [PlainSocket] 27 Mar 2014 23:11:29.239 : FTPConnection.1RepeatCallback received 0 bytes
DEBUG [ClientKeyExchanger] 27 Mar 2014 23:11:29.243 : Processing SSH_MSG_KEXDH_INIT reply
ERROR [SSHFTPClient] 27 Mar 2014 23:11:29.314 : Failed to connect - closing connection
ERROR [SSHFTPClient] 27 Mar 2014 23:11:29.314 : EnterpriseDT.Net.Ftp.Ssh.SFTPException: KeyExchange response is not KEXDH_REPLY but SSH_MSG_DISCONNECT
ERROR [SSHFTPClient] 27 Mar 2014 23:11:29.314 : at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()