SCP

The destination SCP connector allows files and folders to be transformed from motation and be synced to a file system.

Specifics

The destination SCP connector uses SSH and SCP commands to save the files in a file system. So you will need to create a user with appropriate permissions and a key to remotely access the file system as that user as well as permissions to create new folders and files.

Permissions

Ensure that the user you provide config for has the correct permissions to access the files requested to sync.

Private Key

When creating the key and adding it to the endpoint configuration, the private key must be encoded base64 and cannot contain newlines. One way to generate this private key is base64 -w 0 private-key-motiv.pem > encoded-private-key-motiv.pem

Then pass the content of encoded-private-key-motiv.pem into the endpoint config field making sure you are not copying any end of lines from the file.

Endpoint Config

When saving an endpoint for a SCP repository via REST instead of the UI you must use the following key:value pairs in the payload.

  • contentRepo:scp

  • contentRepoVersion:latest

Unsupported

SCP adapter does not support running as a remote adapter apart from Impulse.

Adapter Properties

PropertyPurpose

url

The ip and port provided as ip:port to access the file system.

username

The username of the user to access the file system.

privateKey

The private key used to access the file system via SSH/SCP. Must be encoded base64, and can't contain newlines.

path

The path of the files to sync.

Job Options

The source SCP connector has no job options.

Motation Object Support

ObjectSupported

Category

No

Definition

No

Domain

No

Folder

No

Language

No

Relationship

No

Tag

No

Troubleshooting

Last updated