> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting to SFTP

export const siteName = "CData Sync";

In {siteName}, you can connect to SFTP in several ways. Select your authentication method below, then proceed to the relevant section and follow those instructions.

* [**None**](#none)
* [**Password**](#password)
* [**Public Key**](#public-key)

### None

To connect without authentication, select **None** for **SSH Auth Mode**. No additional properties are required.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### Password

To connect with user credentials that are associated with your SFTP server, set the following properties:

* **SSH Auth Mode:** Select **Password**.
* **SSH User:** Enter the Secure Shell (SSH) user.
* **SSH Password:** Enter the password that is associated with the user.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### Public Key

To connect with a certificate, set the following properties:

* **SSH Auth Mode:** Select **Public\_Key**.
* **SSH Client Cert:** Enter a certificate to use for authenticating the SSH user.
* (Optional) **SSH Client Cert Type:** Enter the type for the private key of the SSH client certificate. The default type is **PEMKEY\_FILE**.
* (Optional) **SSH Client Cert Password:** Enter the password for the SSH client certificate's key, if it has one.
* (Optional) **SSH Client Cert Subject:** Enter the subject for the SSH client certificate.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.
