Supported key exchange algo in SFTP 3.4.6 - WeOnlyDo Discussion board

Supported key exchange algo in SFTP 3.4.6 (wodSFTP / wodSFTP.NET / wodSFTPdll)

by pancham Aggarwal, Monday, August 12, 2024, 12:05 (35 days ago)

Hi Team,

We are facing below error while connecting to SFTP server
System.Exception: 'Could not negotiate diffie-hellman-group1-sha1.

Could you please share list of key exchange algos supported by SFTP 3.4.6 ?

Supported key exchange algo in SFTP 3.4.6

by Jasmine, Monday, August 12, 2024, 12:57 (35 days ago) @ pancham Aggarwal

Hi.

Can you please be more specific what is 'SFTP 3.4.6'? Is it our product and its version? If so, which product exactly, ActiveX or .NET?

Note that we can't provide info about old versions, we can only provide info about latest versions of our products.

Regards,
Jasmine

Supported key exchange algo in SFTP 3.4.6

by pancham aggarwal, Monday, August 12, 2024, 15:18 (35 days ago) @ Jasmine

Hi.

Can you please be more specific what is 'SFTP 3.4.6'? Is it our product and its version? If so, which product exactly, ActiveX or .NET?

Note that we can't provide info about old versions, we can only provide info about latest versions of our products.

Regards,
Jasmine


It's SFTP library we use with version 3.6.4 in C# to connect to SFTP server.

Supported key exchange algo in SFTP 3.4.6

by Jasmine, Monday, August 12, 2024, 15:55 (35 days ago) @ pancham aggarwal

Hi.

Ok, I assume you use wodSFTP.NET in C#.

Did you try latest version? These are suppored in 3.7.3.170:

diffie-hellman-group-exchange-sha256
diffie-hellman-group-exchange-sha1
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
ecdh-sha2-nistp256
ecdh-sha2-nistp384

Regards,
Jasmine

Supported key exchange algo in SFTP 3.4.6

by pancham aggarwal, Monday, August 12, 2024, 19:07 (35 days ago) @ Jasmine

Hi.

Ok, I assume you use wodSFTP.NET in C#.

Did you try latest version? These are suppored in 3.7.3.170:

diffie-hellman-group-exchange-sha256
diffie-hellman-group-exchange-sha1
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
ecdh-sha2-nistp256
ecdh-sha2-nistp384

Regards,
Jasmine

We can't update library on our end as multiple teams are using it. Could you please check supporting algos by C# SFTP lib 3.4.6 so that we can try making changes at SFTP server end.

Supported key exchange algo in SFTP 3.4.6

by Jasmine, Monday, August 12, 2024, 22:17 (35 days ago) @ pancham aggarwal

Hi.

As I mentioned, we can't get list for old versions, so I suggest you enable ones that I have listed in previous reply.

I hope this helps!
Jasmine

Supported key exchange algo in SFTP 3.4.6

by Pancham Aggarwal, Tuesday, August 13, 2024, 07:25 (35 days ago) @ Jasmine

Hi.

As I mentioned, we can't get list for old versions, so I suggest you enable ones that I have listed in previous reply.

I hope this helps!
Jasmine


We can't update library on our end so it used by multiple teams and might break something.

So could you check with your team once regarding supported exchange algos ?

Supported key exchange algo in SFTP 3.4.6

by Jasmine, Tuesday, August 13, 2024, 08:06 (35 days ago) @ Pancham Aggarwal

Hi.

No need to upgrade, but please refer to list I provided in previous reply.

Regards,
Jasmine

Supported key exchange algo in SFTP 3.4.6

by pancham aggarwal, Tuesday, August 13, 2024, 08:26 (35 days ago) @ Jasmine

Hi.

No need to upgrade, but please refer to list I provided in previous reply.

Regards,
Jasmine

Ok, I assume you use wodSFTP.NET in C#.

Did you try latest version? These are suppored in 3.7.3.170:

diffie-hellman-group-exchange-sha256
diffie-hellman-group-exchange-sha1
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
ecdh-sha2-nistp256
ecdh-sha2-nistp384

Regards,
Jasmine


I see this list is specific to 3.7.3.170 this version. Please let me know if I'm missing something

Supported key exchange algo in SFTP 3.4.6

by Jasmine, Tuesday, August 13, 2024, 08:43 (35 days ago) @ pancham aggarwal

That is correct. If you support those, then surely you will also support those that were in 3.4.6 , since we didn't remove any.

We can not provide list for version 3.4.6 from year 2013.

Jasmine