The objective of this blog post is establishing the connection from CPI to SFTP server and adding user credentials and connectivity test.
To connect with SFTP sever we have 2 option
- CPI to SFTP via Cloud connector
- CPI to SFTP via internet.
If you are connecting via cloud connector, we need whitelist cloud connector IP. In case without cloud connector we need whitelist the CPI tenant Public IP range.
If you are connecting via cloud connector adapter we need to provide location ID and proxy should be On-premise
Cloud Connector Configuration
Here backend system SAP HANA system to access AL11
Back end type: SAP HANA
Virtual host: any dummy ip address which same need to use at CPI and Cloud connector
Virtual port: 22
Internal host: sftp sever IP
Internal port: 22
After this, CPI tenant level need to add user credentials and Know Hosts
Below are the steps, how to add SFTP and FTP Credentials:
Monitoring —>Manage Security —> Security Material —> Add —> User credentials
>Name: SFTP_Credentials (Same name you need to use in the SFTP adapter)
>Type: User Credentials
>User and Password
Click on Deploy
SFTP Connection test :
Monitoring —> Manage Security —> Connectivity Tests, Select SSH for SFTP server connection.
Provide your Host, Port (By default 22) and Authentication as None and Click on Send. You will see the Response message from SFTP server as Successfully reached host, and it will generate Host Key.
SFTP Host Key file upload:
Monitoring —>Manage Security —> Security Material —>upload
Copy host key file upload at shown below.
To check directory folder access and folder permission.
At directory level provide /
I hope this blog post helps you to understand whitelisting and connection test .
Hope this blog post will help for beginners.