Skip to main content
Question

Fail to connect SFTP SSH to FLEX : "Permission denied (publickey)" when using OpenSSH key pair

  • May 19, 2025
  • 0 replies
  • 25 views

Hi everyone,

I'm currently trying to connect a FLEX synchronization scenario to a secure SFTP server. The SFTP server has been configured to use OpenSSH public/private key authentication.

I followed the official documentation carefully: 

https://help.acumatica.com/(W(14))/Wiki/ShowWiki.aspx?pageid=d9555f46-0a48-4059-8082-decc6b8e3652

 

However, when I try to establish the connection, I get the following error message:

Permission denied (publickey)

 

FYI : The SFTP user does not have a password (only key-based access) but FLEX seems to hash the password even when the password field is left empty, which might be causing the authentication to fail.