Expand my Community achievements bar.

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