IBM Support

Setting up SSH for CLI copy using SFTP

Question & Answer


Question

You would like to use the WebSphere® DataPower® CLI copy command to copy a file from a DataPower directory, such as export:, to an SFTP (Secured File Transfer Protocol) URL. For example: xi50(config)# copy export:///somefile.zip sftp://someuser@somehost/something You have this working using password authentication when connecting to "somehost", but the documentation indicates that you can set up key-based authentication so that you don't need to use a password: parameter. How is this done?

[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0.2;4.0.1;4.0;3.8.2;3.8.1;5.0.0","Edition":"Edition Independent","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM DataPower Gateway

Software version:
4.0.2, 4.0.1, 4.0, 3.8.2, 3.8.1, 5.0.0

Operating system(s):
Firmware

Document number:
352293

Modified date:
08 June 2021

UID

swg21273347

Manage My Notification Subscriptions