I tried FTPCaller using the full path to the file I want but I am unsure of authentication as it seems undocumented. I am unable to use username and password and must use SSH key files. Setting to ssh-agent seemed like the way to go but how do you choose your key file? I am publishing to Cloud anyways so I thought I would look at what was there and seems there is upload capability for sftp using a subscriber and ftp watcher (no sftp). Am I missing something?
How do I use SFTP ssh keys to download a file?
Best answer by debbiatsafe
Hi @clow
My apologies for the lack of information in the documentation. You are on the right path setting SSH-Agent/Pageant as an authentication type within the FTPCaller.
If you are on the Windows platform, you would have to use a program called Pageant. This is not installed or running on Windows by default so the user would need to install it. The following link should contain more details and instructions: https://www.digitalocean.com/community/tutorials/how-to-use-pageant-to-streamline-ssh-key-authentication-with-putty. Basically, you would need to add your key to Pageant.
If you are on the Linux platform, you would have to use ssh-agent ( https://www.ssh.com/ssh/agent) and generally, this is running by default on Linux.
There is an existing PR (PR81956) that addresses FTPCaller documentation. Once this PR has been resolved, the documentation should become clearer.
Hope this helps,
Debbi
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.