SFTP handshake in AEM cloud using JSch | Community
Skip to main content
Level 2
December 2, 2022
Solved

SFTP handshake in AEM cloud using JSch

  • December 2, 2022
  • 2 replies
  • 1659 views

I'm facing connection timeout when trying to connect with a public SFTP server on the cloud AEM instance. However, I'm able to do the handshake in the local cloud SDK instance. The same happens with private SFTP too where IP is also whitelisted with port. I have used Jsch Java based approach and the bundles are in active state.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

hard to say then, there could be many factors. Can you raise a support ticket (if not done yet)?

2 replies

joerghoh
Adobe Employee
Adobe Employee
December 3, 2022

On AEM as a Cloud Service you can connect by default only to external hosts on port 443 (https); if you want to connect to other ports, you have to explicitly allow this, see [1] for it.

 

[1] https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/networking/advanced-networking.html?lang=en

Level 2
December 4, 2022

Thanks for your reply @joerghoh. But our cloud are configured to enable advanced networking via egress IP to handshake with port 22 and the IP is whitelisted at SFTP server too. But still we face connection timed out

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
December 12, 2022

hard to say then, there could be many factors. Can you raise a support ticket (if not done yet)?

New Member
May 3, 2024

Hi @pasridharan : Is your issue resolved ? We are also trying to connect external SFTP server from aem cloud environment, So can you please let us know the configuration you have done ?