Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

3 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)?