apache/seatunnel

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

Geschlossen

#5.516 geöffnet am 19.09.2023

 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.432 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (6.897 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 13T 21h) (143 gemergte PRs in 30 T)

Beschreibung

Search before asking

  • I had searched in the issues and found no similar issues.

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?

  • Yes I am willing to submit a PR!

Code of Conduct

Contributor Guide