
Requirement:
Load data to SFTP folder Using Authorization Type as Public Key in SAP Data Service
Description:
The blog will provide information about the use of file location object to upload file in SFTP server using Authorization Type as Public Key
We already have a blog that give you a good idea of how to use the File location object to access files in SFTP and FTP after Document Version: 4.2 Support Package 6 (14.2.6.0). The blog talks of the file config using the authorization type as password.
I will be focusing only on the SFTP file upload using authorization type as Public Key:
Follow the steps to create the file location for SFTP as mentioned in the above blog.
Select the authorization Type as “Public Key” and you would get the below options:
You will be provided by the Username and RSA Private key by the SFTP team. With the provided RSA private Key, you won’t be able to create the connection and would get the below error message:
To resolve the error, use a software that would be able to generate the Public and Private key using the provided RSA Private key. We have used “PuTTY Key Generator” (You can use any other available software).
Open the PuTTY Key Generator and Go to File and select “Load Private Key”.
Once loaded you can select “Save public Key” followed by “Save private key”. The Public key should be saved by file extension “.pub” and the Private key with file extension “.pem”.
Note – You can also paste the generated public/private key in a note pad and save it with the extension as mentioned above.
File Location Configuration:
Once the file location is configured go to the file in data flow chose the file location from drop down.
Provide the file name and you are good to go 🙂.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |