SFTP

#

SFTP resources represent remote machines accessible over SSH/SFTP. SFTP does not support automatic inventory discovery in Plakar Control Plane. You need to set up a self-managed inventory before adding an SFTP resource.

Setting up a self-managed inventory

#

You can create a self-managed inventory to manage your SFTP resources by providing a name for it. Read the self-managed inventory documentation for more information.

Adding SFTP as a resource

#

When using a self-managed inventory, you must register your resources manually or import them from a CSV file.

To add an SFTP machine as a resource, use Compute as the class. SFTP resources do not require a subclass. For the endpoint, use the IP address of the target machine.

Configuration

#

SFTP resources can be configured as a source, store, or destination connector. When setting up the connector, select sftp from the integration dropdown.

Port

#

The TCP/UDP port number the SSH service is listening on. Defaults to 22.

Root

#

The absolute filesystem path to use as the root for backup operations. Defaults to /.

SSH Private Key

#

To authenticate with the remote machine, PCP uses SSH key-based authentication. You need to generate a dedicated SSH keypair for PCP and add the public key to the remote machine’s authorized keys before configuring this field.

Once the public key is on the remote machine, copy the private key and use it into this field. The key should be added in full including the header and footer lines.

-----BEGIN OPENSSH PRIVATE KEY-----
...
-----END OPENSSH PRIVATE KEY-----

Username

#

The SFTP username to authenticate as on the remote machine. This field cannot be used if the hostname already includes a user@host format.

Permissions

#

The SSH user configured for PCP must have read access to the paths being backed up. For store or destination use, write access is also required. It is recommended to create a dedicated user and keypair for Plakar Control Plane rather than reusing personal credentials.