13

Step by step procedure to establish CPI to SFTP server connection

 3 years ago
source link: https://blogs.sap.com/2021/06/10/step-by-step-procedure-to-establish-cpi-to-sftp-server-connection/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Technical Articles
Posted on June 10, 2021 1 minute read

Step by step procedure to establish CPI to SFTP server connection

0 Likes 33 Views 0 Comments

Introduction

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

  1. CPI to SFTP via Cloud connector
  2. 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

Protocol: TCP

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

1-18.png

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

2-10.png

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.

4-9.png

To check directory folder access and folder permission.

At directory level provide /

Inked5_LI.jpg

Conclusion:

I hope this blog post helps you to understand whitelisting and connection test .

Hope this blog post will help for beginners.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK