alibaba / alibaba/DataX

[ftpReader]: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1

Open
#897 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

Hi, DataX 团队:
我尝试用DataX连接阿里云上的sftp server,配置信息应该都是对的,用WinSCP是可以的,但是用DataX的时候,就会报这样的错误:
Unable to negotiate with 221.227.108.254 port 51852: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1

麻烦帮确认一下是不是DataX客户端用的key算法太旧了?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the ftpReader entry point and reproduce the SFTP connection using the reported server offer: diffie-hellman-group1-sha1, diffie-hellman-group14-sha1, and diffie-hellman-group-exchange-sha1. Compare the client's key-exchange configuration with the working WinSCP connection; done means the reported server can connect successfully without the negotiation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.