Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
1.6k views
in .NET FTP by (250 points)
When I connect to SFTP in C# I get the following exception message from a particular host:

KeyExchange response is not SSH_MSG_KEX_DH_GEX_GROUP but SSH_MSG_UNIMPLEMENTED

The last bit of the debug log is as follows:

DEBUG [AbstractKeyExchanger] 10 May 2019 15:09:36.227 :  Decided hostkey alg= RSA

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.227 :  Remote Cipher CS=aes128-ctr,aes192-ctr,aes256-ctr

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Decided Cipher C->S= AES_CTR_128

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Remote Cipher SC=aes128-ctr,aes192-ctr,aes256-ctr

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Decided Cipher S->C= AES_CTR_128

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Remote MAC CS=umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Decided MAC C->S= HMAC_SHA1

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Remote MAC SC=umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Decided MAC S->C= HMAC_SHA1

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Remote Comp CS=none,zlib@openssh.com

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Decided Comp C->S=None

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Remote Comp SC=none,zlib@openssh.com

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Decided Comp S->C=None

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  first_kex_packet_follows=False

DEBUG [AbstractKeyExchanger] 10 May 2019 15:09:36.228 :  Processed SSH_MSG_KEXINIT reply

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.228 :  Sending SSH_MSG_KEX_DH_GEX_REQUEST_OLD

DEBUG [AbstractKeyExchanger] 10 May 2019 15:09:36.229 :  DH_PREFERRED_GROUP_SIZE=1024

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.229 :  Sent SSH_MSG_KEX_DH_GEX_REQUEST_OLD

DEBUG [SSH2Connection] 10 May 2019 15:09:36.229 :  Waiting for packet

DEBUG [PlainSocket] 10 May 2019 15:09:36.365 : FTPConnection.1 RepeatCallback received 16 bytes

DEBUG [SSH2Connection] 10 May 2019 15:09:36.365 :  Packet arrived

DEBUG [ClientKeyExchanger] 10 May 2019 15:09:36.365 :  Processing SSH_MSG_KEX_DH_GEX_GROUP reply
by (161k points)
Try upgrading to 9.3.0
by (250 points)
Thanks I have upgraded to 9.3 and that seems to have fixed it

1 Answer

0 votes
by (161k points)
 
Best answer
Upgrading to 9.3.0 fixed this issue for this customer.

Categories

...