> For the complete documentation index, see [llms.txt](https://motivlabs.gitbook.io/impulse-user-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://motivlabs.gitbook.io/impulse-user-manual/connectors/destination-connectors/scp.md).

# SCP

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

## 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.&#x20;

### Permissions

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

### 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.&#x20;

### 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.&#x20;

* `contentRepo:scp`
* `contentRepoVersion:latest`

### Unsupported

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

## Adapter Properties

| Property   | Purpose                                                                                                         |
| ---------- | --------------------------------------------------------------------------------------------------------------- |
| 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

| Object       | Supported |
| ------------ | --------- |
| Category     | No        |
| Definition   | No        |
| Domain       | No        |
| Folder       | No        |
| Language     | No        |
| Relationship | No        |
| Tag          | No        |

## Troubleshooting
