Skip to main content
Solved

Does FTPCaller provide a method for using OpenSSH key files?


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.

View original
Did this help you find an answer to your question?

4 replies

debbiatsafe
Safer
Forum|alt.badge.img+20
  • 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
debbiatsafe wrote:

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+20
  • Safer
  • February 21, 2023
louielou1234 wrote:

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings