apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
8.07k stars 1.83k forks source link

[Bug] [SFTP] SFTP connector miss fs.sftp.keyfile option #5516

Open ruanwenjun opened 1 year ago

ruanwenjun commented 1 year ago

Search before asking

What happened

I find we cannot set fs.sftp.keyfile in sftp connector, this means we only support use username and password to create ssh connection, but I find in the source code, there exist fs.sftp.keyfile https://github.com/apache/seatunnel/blob/c23070919c8abde6e95e42c28095ca318dddc5e7/seatunnel-connectors-v2/connector-file/connector-file-sftp/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/sftp/system/SFTPFileSystem.java#L120-L132

so this is a missing option?

SeaTunnel Version

dev

SeaTunnel Config

-

Running Command

-

Error Exception

-

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

Code of Conduct

chenjingge commented 1 year ago

Can you test whether that code can run normally with a blank password

ruanwenjun commented 1 year ago

Can you test whether that code can run normally with a blank password

Is this related to this issue?

chenjingge commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

chenjingge commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。