Share all details about your problem, including any error messages you may have received.
We are trying to use SFTP protocol for SQLLoader connector which requires a username and password, we are trying to use ssh keys to authenticate instead of username password. Is there a way that we can achieve this? I know that delimited file connector has separate options for this.
I want to see if we can do something similar for SQL Loader.
The problem arises when we have multiple server architecture (multiple tasks and ui servers) we need to be able to specify the ssh key path to do sftp to a specific server to read and write to the file.
In this case, you can create a schedule task to download file via sftp protocol to task server. Once file is downloaded in your local environment you should execute Aggregation task of your SQLLoader application to read the file.
To download file via sftp protocol, you can use following code:
Thanks for the snippet, I will try this, however, our major difficulty occurs when it comes to multiserver architecture. Even if i download the file using this code, when running the aggregation it will not know what server it downloaded the file on, also problem would be when we want to write back to the file during provisioning. We cannot specify which server the file is on while writing back.