Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.5k views
in .NET FTP by (120 points)
Dear Support,

 

i tried to connect to SFTP server using EntrtpriseDT tool and when i test connection Error is comming as below

DEBUG : Adding event-handlers to ?.FTPLocalFileList for connection 6

DEBUG : Adding event-handlers to ?.FTPRemoteFileList for connection 6

DEBUG : Adding event-handlers to ?.FTPStatusBar for connection 6

DEBUG : Adding event-handlers to ?.FTPAnimation for connection 6
ALL : Got master connection 6

DEBUG : Invoking task on connection 6: [ID=18] Connect()

ALL : Entered RunTask on connection 6

ALL : Preparing task on connection 6: [ID=18] Connect()

DEBUG : Running task on connection 6: [ID=18] Connect()

INFO : Licence expiry date: 12/31/9999

INFO : Production license

INFO : Licence expiry date: 12/31/9999

INFO : Production license

DEBUG : Setting up fallback kbi prompt based on supplied password

DEBUG : Resolving 10.242.9.1

DEBUG : 10.242.9.1 resolved to 10.242.9.1

DEBUG : Connecting directly to SFTP server 10.242.9.1:22

INFO : Connecting to 10.242.9.1:22 with timeout 120000 ms

DEBUG : Successfully connected to 10.242.9.1:22

DEBUG : Connected successfully to SFTP server 10.242.9.1:22

DEBUG : Beginning protocol negotiation

DEBUG : RepeatCallback received 28 bytes

DEBUG : offset=0,length=28

DEBUG : Read: 'SSH-2.0-OpenSSH_5.6-OS4690'

INFO : Server version = 'SSH-2.0-OpenSSH_5.6-OS4690'

DEBUG : Major string = '2'

DEBUG : Minor string = '0'

DEBUG : Version 2.0

DEBUG : Protocol compatible

DEBUG : Server version=SSH-2.0-OpenSSH_5.6-OS4690

DEBUG : Timeout=120000

DEBUG : Sending client version=SSH-2.0-edtFTPnet/PRO-7.4.0.20

DEBUG : Starting key exchange

DEBUG : Sending SSH_MSG_KEXINIT

DEBUG : key exchange method=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

DEBUG : hostkey algorithms=ssh-dss,ssh-rsa

DEBUG : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr

DEBUG : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr

DEBUG : MACs=hmac-sha1,hmac-md5

DEBUG : MACs=hmac-sha1,hmac-md5

DEBUG : compression algorithms=none,zlib

DEBUG : compression algorithms=none,zlib

DEBUG : Sent SSH_MSG_KEXINIT

DEBUG : Reading SSH_MSG_KEXINIT reply

DEBUG : Waiting for packet

DEBUG : RepeatCallback received 784 bytes

DEBUG : Packet arrived

DEBUG : Processing SSH_MSG_KEXINIT reply

DEBUG : Remote kex alg=diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

DEBUG : Decided kex alg= DiffieHellmanGroup1Sha1

DEBUG : Remote hostkey alg=ssh-rsa,ssh-dss

DEBUG : Decided hostkey alg= DSA

DEBUG : Remote Cipher CS=aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se

DEBUG : Decided Cipher C->S= Blowfish

DEBUG : Remote Cipher SC=aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se

DEBUG : Decided Cipher S->C= Blowfish

DEBUG : Remote MAC CS=hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96

DEBUG : Decided MAC C->S= HMACSHA1

DEBUG : Remote MAC SC=hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96

DEBUG : Decided MAC S->C= HMACSHA1

DEBUG : Remote Comp CS=none,zlib@openssh.com

DEBUG : Decided Comp C->S=None

DEBUG : Remote Comp SC=none,zlib@openssh.com

DEBUG : Decided Comp S->C=None

DEBUG : first_kex_packet_follows=False

DEBUG : Processed SSH_MSG_KEXINIT reply

DEBUG : Sending SSH_MSG_KEXDH_INIT

DEBUG : DH_PRIME_GROUP1

DEBUG : DH_PRIME_GROUP1

DEBUG : Sent SSH_MSG_KEXDH_INIT

DEBUG : Reading SSH_MSG_KEXDH_INIT reply

DEBUG : Waiting for packet

DEBUG : RepeatCallback received 0 bytes

DEBUG : Packet arrived

ERROR : ReceiverState: Closed

ERROR : Failed to connect - closing connection

ERROR : EnterpriseDT.Net.Ftp.Ssh.SFTPException: socket closed

ERROR :    at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()

ALL : Task failed on connection 6: [ID=18] Connect()

ERROR : Error event while executing Connect - notifying Error event-handlers

ERROR : Event-handlers notified successfully

ALL : Next task: True, False, True, False

ALL : Freed master connection 6 - 0

ALL : Exiting RunTask on connection 6

ERROR : Connection Error

ERROR : EnterpriseDT.Net.Ftp.Ssh.SFTPException: socket closed

ERROR :    at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()

ERROR :    at EnterpriseDT.Net.Ftp.SecureFTPConnection.Connect()

DEBUG : Error while executing Connect.  Calling ShowError delegate.

DEBUG : Showing error message-box

DEBUG : Error message-box shown successfully

 

can guid me to solve this issue
by (162k points)
1. Can you connect with Filezilla?  
2. Try setting PreferredHostKeyAlgorithms to RSA
3. Check the server logs
by (120 points)
1- i tried to connect with Filezila and it connected.
2- i set it and it's not work
3- when i check the server the error come as below

Matching cipher is not supported: blowfish-cbc
by (162k points)
That's weird, as blowfish-cbc is in the server's cipher list. Try setting PreferredCipherAlgorithms = SSHCipherAlgorithm.TripleDES

Please log in or register to answer this question.

Categories

...