SCP
Last updated
Last updated
The source SCP connector allows files and folders to be picked up from a file system and transformed into motation.
The source SCP connector uses SSH and SCP commands to pick up 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.
Ensure that the user you provide config for has the correct permissions to access the files requested to sync.
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.
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
Zero byte files will not be picked up and will cause the transaction to never finish and thus never sync. This can be resolved by adding any data to a zero byte file.
SCP adapter does not support running as a remote adapter apart from Impulse.
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.
The source SCP connector has no job options.
Category
No
Definition
Yes
Domain
No
Folder
Yes
Language
No
Relationship
No
Tag
No