Testing the connection in the SFTP External Account using SSH Public Key Authentication

Campaign v8 release 8.5.1 introduced a new improvement:

“A new key-based authentication option has been added for the SFTP external account alongside the existing user/password authentication method. You can now securely authenticate using a private key, enhancing security and providing an alternative authentication mechanism for SFTP access.”

However, there is no external/customer-facing documentation indicating how this feature should be used.

This KB article outlines the steps to follow before testing the connection in the SFTP External Account PublicKey Auth tab. Refer to these release notes for more information.

Description description

Environment

Adobe Campaign Classic

Issue/Symptoms

Testing the connection to an external SFTP in Campaign’s SFTP External Account PublicKey Auth tab can return a “Login denied” error at the user level.

Resolution resolution

To resolve the “Login denied” error, follow the steps below:

  1. Generate a new SSH key pair by using the below ssh-keygen command:

    ssh-keygen -b 4096 -t rsa -m PEM -f <filename>
  2. Install the new SSH key pair generated in step 1 on the external SFTP server.
  3. In the Campaign Client Console, go to Administration > Platform > External Accounts, open the SFTP External Account, go to the PublicKey Auth tab, and enter the private key and public key from the new SSH key pair generated in step 1.
  4. Click the Test the connection  button and it should return: Connection test successful
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f