cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi All,

I have to do key based aunthentication in SFTP adapter . i dont want to do any encryption and description, only i need key based aunthentication.

1- > i want to create private and public key in SAP PO.

2--> i should upload their public key in to PI NWA.

can you please suggest me how to do the above steps.

Gr,

Mani

0 Likes
View Entire Topic
manoj_khavatkopp
Active Contributor
0 Likes

Hi Mani,

In the case of SFTP key based auth :

  • Sever should have the public key, which will be linked to the user id in the known_host file under .ssh folder
  • The client should have the private key

So in the case of PI irrespective of inbound/outbound it acts as a client, hence PI need to have the private key and SFTP server needs to have a public key.

There are 2 ways to generate SSH Keys :

  • Use PuttyKeyGen tool to generate SSH key pair, and provide the public key to SFTP guys and using OpenSSL commands convert the PuttyGetGen Private key to NWA format private key.
  • Create a Private/PublicKey pair in NWA , convert the Public key to SSH format public key and provide the same to a third party.

Use this wiki for reference.

Br,

Manoj