Comments and answers for "How do I use SFTP ssh keys to download a file?" https://knowledge.亚搏在线safe.com/questions/66175/how-do-i-use-sftp-ssh-keys-to-download-a-file.html The latest comments and answers for the question "How do I use SFTP ssh keys to download a file?" Comment by rudy_v https://knowledge.safe.com/comments/75800/view.html

Good Day,

I am trying to get the connection working with sftp, but where do you add theSshHostKeyFingerprint, in pageant, i can only see add key, in the format of *.ppk

Tue, 07 Aug 2018 05:20:26 GMT rudy_v
Comment by debbiatsafe on debbiatsafe's comment https://knowledge.safe.com/comments/70458/view.html Hi @adubs
Would you be able to provide log files?It may contain more details about it is not working.
Tue, 15 May 2018 23:36:32 GMT debbiatsafe
Comment by adubs on adubs's answer https://knowledge.safe.com/comments/70071/view.html I'm having trouble getting this working on FME server.I have a system caller that calls pageant, and loads the key.It then uses FTPCaller to connect to the sftp server and download the file.It works great in desktop, but when I put it on server.the system caller just hangs.Any advice getting sftp working on FME Server

Thu, 10 May 2018 15:24:18 GMT adubs
Comment by tara on tara's answer https://knowledge.safe.com/comments/69226/view.html Thank you for this information @DebbiAtSafe.This worked perfectly.And thank you @clowfor asking the question.You just saved me a lot of time!
Fri, 27 Apr 2018 18:21:36 GMT tara
Comment by gerhardatsafe on gerhardatsafe's answer https://knowledge.safe.com/comments/67278/view.html Hi @clow,
unfortunately, it is currently not possible to use the FTPCaller with ssh key files on FME Cloud.The FME Engine service has only limited access to the filesystem of the FME Cloud instance which is not sufficient to add ssh key files that can be used in the FTPCaller.I will raise this with development and will update here once there is news on this.

A workaround for know could be to use python with the pysftp module.You will need to add the pysftp and the paramiko modules to your FME Cloud instance following these steps:
https://knowledge.safe.com/questions/4164/python-libraries-on-fme-cloud.html

I hope this helps!
Fri, 30 Mar 2018 23:38:37 GMT gerhardatsafe
Answer by candacelow https://knowledge.safe.com/answers/66281/view.html

Thanks@GerhardAtSafeand@DebbiAtSafe- I will try on the cloud instance.I look forward to hearing back from you though.

Mon, 19 Mar 2018 16:51:39 GMT candacelow
Answer by gerhardatsafe https://knowledge.safe.com/answers/66183/view.html

Hi@clow,

Currently, there is no SFTP watcher available on FME Server:
https://knowledge.safe.com/idea/47929/sftp-watcher.html

FME Cloud is running on Linux so you would need to add your key to the FME Cloud instance.It might be possible to add the ssh key following the instructions@DebbiAtSafeshared with you using the SystemCaller transformer but I am afraid that you might need root permissions to either add the file or to change the permission on the file.I will investigate and follow up with you once I know more.

Sat, 17 Mar 2018 01:38:21 GMT gerhardatsafe
Answer by debbiatsafe https://knowledge.safe.com/answers/66182/view.html

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

Sat, 17 Mar 2018 00:54:06 GMT debbiatsafe