Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

SFTP handshake in AEM cloud using JSch

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

4 Replies

Avatar

Employee Advisor

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-n...

Avatar

Level 2

Thanks for your reply @Jörg_Hoh. 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

Avatar

Correct answer by
Employee Advisor

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

Avatar

Level 1

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 ?