我正在尝试将数据从 SFTP 复制到 blob,但在创建 SFTP 源时遇到了困难。
我有连接详细信息,可以轻松连接 Filezilla 或 WinSCP。但是,我无法让它在 Azure 数据工厂中工作。
我不使用代码,而是使用用户界面。
创建 SFTP 源页面上的连接详细信息:通过集成运行时连接:AutoResolveIntegrationRuntime(默认)
Host: xyz
Port: 22 (can't remove it as it doesn't like it)
SSH Host Key Validation: Enable SSH Host Key Validation
SSH Host Key Finger-print: taken from WinSCP - Session - Server/protocol information
Authentication type: SSH Public Key Authentication -can't use basic as the private key holds the security info
User name:XXX
Private Key Type: Use Key Content
Private key content: loaded the .ppk …Run Code Online (Sandbox Code Playgroud)