Skip to main content
Solved

Does FTPCaller provide a method for using OpenSSH key files?

  • January 31, 2023
  • 4 replies
  • 138 views

louielou1234
Contributor
Forum|alt.badge.img+5

Hi There, so our IT Department is now implementing a 'no password' policy with using our organization's (s)ftp sites. WinSCP does provide a method to use the key file generated by OpenSSH (please see attached screengrab)...but I can not see a method for leveraging this file in FME's FTPCaller...is this true? (so no way to do this in FME?). Thanks for any thoughts here.

Best answer by debbiatsafe

Hello @louielou1234

I would recommend taking a look at the following article https://community.safe.com/s/article/Using-a-private-SSH-key-with-FTPCaller-to-authenticate-an-SFTP-Connection-on-FME-Server-and-FME-Desktop 

 

The private SSH key in your screenshot is a .ppk, which means it is a Putty Private Key (PPK). So you would use Putty's authentication agent, Pageant, instead of OpenSSH utilities. OpenSSH private keys do not have a file extension. I hope this information helps.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • February 1, 2023

Hello @louielou1234

I would recommend taking a look at the following article https://community.safe.com/s/article/Using-a-private-SSH-key-with-FTPCaller-to-authenticate-an-SFTP-Connection-on-FME-Server-and-FME-Desktop 

 

The private SSH key in your screenshot is a .ppk, which means it is a Putty Private Key (PPK). So you would use Putty's authentication agent, Pageant, instead of OpenSSH utilities. OpenSSH private keys do not have a file extension. I hope this information helps.


louielou1234
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 9, 2023

Yep--the instructions and especially the attached sample Workbench was super helpful and I got everything working now. Thanks very much!!


louielou1234
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 20, 2023

Hello @louielou1234

I would recommend taking a look at the following article https://community.safe.com/s/article/Using-a-private-SSH-key-with-FTPCaller-to-authenticate-an-SFTP-Connection-on-FME-Server-and-FME-Desktop 

 

The private SSH key in your screenshot is a .ppk, which means it is a Putty Private Key (PPK). So you would use Putty's authentication agent, Pageant, instead of OpenSSH utilities. OpenSSH private keys do not have a file extension. I hope this information helps.

Hi Debbiatsafe again,

 

Sooo... it turns out that I am able to run the workbench in FME for Desktop (2022.1) just fine and great, but unfortunately when I try to run it from FME for Server (FME Server 2022.1.2 Build 22627 ) I get the error: 'FTP/FTPS/SFTP transfer error: Login denied'. --I did try changing some parameters (like 'Passive' to 'Active' Mode) but still no luck :( ....one note might be that FME Server now runs under my personal Active Directory domain account --as that was the only way we could get FME Server to work with ArcPro 3.x operations due to the new Named-User licensing model ESRI now requires....and I mention this because when I created the SSH Key Files with Putty I was logged into the machine that we run FME Server from as me... Any thoughts or troubleshooting tips would be super appreciated! Thanks very much again. Louie.


debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • February 21, 2023

Hi Debbiatsafe again,

 

Sooo... it turns out that I am able to run the workbench in FME for Desktop (2022.1) just fine and great, but unfortunately when I try to run it from FME for Server (FME Server 2022.1.2 Build 22627 ) I get the error: 'FTP/FTPS/SFTP transfer error: Login denied'.  --I did try changing some parameters (like 'Passive' to 'Active' Mode) but still no luck  :( ....one note might be that FME Server now runs under my personal Active Directory domain account --as that was the only way we could get FME Server to work with ArcPro 3.x  operations due to the new Named-User licensing model ESRI now requires....and I mention this because when I created the SSH Key Files with Putty I was logged into the machine that we run FME Server from as me...  Any thoughts or troubleshooting tips would be super appreciated! Thanks very much again. Louie.

Hello @louielou1234​ 

Thanks for the screenshot. The key in the screenshot looks more like a public key instead of a PuTTY private key. When viewed In a text editor, a PuTTY private key should start with:

PuTTY-User-Key-File-2: ssh-rsa
Encryption: aes256-cbc
Comment: ...

Are you able to confirm you are using the same private key on Desktop and Server? 

 

In addition,  the SSH key pair cannot be generated with a passphrase as there is no way to automate entering the passphrase on FME Server.