Support Home > Backups and Restores > Adding Credentials in the Jetpack Plugin

Adding Credentials in the Jetpack Plugin

Looking for instructions on adding credentials to the Jetpack Backup plugin? See our article about Adding Credentials to the Jetpack Backup Plugin.

The steps below explain exactly how to get SSH, SFTP, or FTP credentials and enter them in your WordPress.com dashboard.

Jetpack Backup will start to back up your site as soon as you purchase the product, provided Jetpack’s connection is working normally. If your backups don’t start right away, you can add SSH, SFTP, or FTP credentials to bypass other issues and create a backup immediately. Credentials are also needed to restore your site from a previous backup.

File Access Permissions

File access permissions are a set of instructions that dictate who can access and modify WordPress files and folders. When creating new SFTP/SSH credentials to use with Jetpack Backup, you need to set the correct access permissions (full read and write access) to the WordPress directory. It is important to set the correct permissions to your WordPress install to allow your Jetpack Backup to back up your files (read access), upload the helper script, and restore files (write access).

Note: The required settings could vary depending on your host, so we can’t provide the exact permissions you’ll need. Your hosting provider can help with this, and they may even provide instructions in their support documentation.

ℹ️ What is Helper Script?

The Helper Script is used to fetch data from your site efficiently. It can walk directory trees, hash files, fetch WordPress config information, and fetch database tables. They expire automatically 6 hours after being uploaded to the server. They’re unique to the server that uploaded them, and only that server can access them due to randomly generated keys only the uploading server knows about.

Getting Server Credentials for Jetpack Backup

If you’re confused about what these credentials are, how they work, or why we need them, you can read more about that in our SSH, SFTP, FTP Credentials guide.

If you have issues adding your credentials to Jetpack Backup, we recommend contacting your hosting provider for support. When you reach out to your hosting provider, you can share the following with them:

I’m in the process of setting up my site on Jetpack Backup, and I need server credentials to enter into the plugin so that it can perform backups and restores on my website. Could you help me determine the correct information for the following items:

  • Protocol: FTP is fine, but SSH or SFTP would be ideal.
  • User: The user needs to have read and write permissions for my site’s files on the server. More on why Jetpack Backup needs read and write permissions can be found here.
  • Password: If using SSH credentials, this password is optional.
  • Host/IP Address: If my site uses Cloudflare, I require the IP address for the server my site is located on, otherwise the URL that points to my site on the server is fine.
  • Port: Should the port be 21, 22 or something else?
  • SSH Private Key: If using SSH, the SSH private key cannot be password protected and must use OpenSSH format. Password protected private keys and/or keys in PuTTY format are not supported.
  • WordPress Path: The WordPress path should point to the folder on the server where my WordPress instance lives.

Add Your Credentials

To add your server credentials:

  1. Go to WordPress.com.
  2. In the top left corner, click Switch Site and select the Jetpack-connected site you want to add server credentials to.
  3. Go to Settings → Jetpack.
  4. In the screen that opens, you’ll see the option to select from a list of popular hosting providers. Click on your hosting provider if listed. If you don’t know your hosting provider, it’s not listed here, or you have your server credentials, click I don’t know / my host is not listed here / I have my server credentials.
  1. On the next screen, you’ll enter your credentials and click Test and save credentials. Once the site is connected, Jetpack will start your first backup.

Note: If your site is hosted at Pressable, we can automatically detect these credentials for you. In that case, you will see a message asking for your approval to grant Jetpack permission to use credentials to back up your site.

Entering Your Credentials

The information below explains what to enter in each field, based on the type of credentials you’re adding.

Adding FTP Credentials

To use FTP credentials, you’ll need the following information: 

  • Credential type: This will be FTP
  • Server address: This is often your site URL, but some hosts require you to use a different, special domain or an IP address. Note: If you’re using Cloudflare with your website, you will always need to use the server’s IP address where your site is located.
  • Port Number: This will be 21.
  • WordPress installation path: This should point to the directory on your server where your WordPress installation is located.
  • Server username: This username should have read and write access to your WordPress directory.
  • Server password: Try to make sure this password is secure and is different from other passwords you use. If you’re unsure about your password strength, read this article on Selecting a Strong Password.

If you are unsure about any of this information, contact your hosting provider for assistance.

Adding SFTP/SSH Credentials

Typically, SFTP setup coincides with SSH activation on your server. However, in the case of some hosts, it is possible to create a standalone SFTP account that is unrelated to SSH.

To use SFTP/SSH credentials, you’ll need the following information: 

  • Credential type: This will be SFTP/SSH
  • Server address: This is often your site URL, but some hosts require you to use a different, special domain or an IP address. Note: If you’re using Cloudflare with your website, you will always need to use the server’s IP address where your site is located.
  • Port Number: This is typically 22. Double-check with your hosting provider to ensure you have the right one.
  • WordPress installation path: This should point to the directory on your server where your WordPress installation is located.
  • Server username: This username should have read and write access to your WordPress directory.
  • Server password: Try to make sure this password is secure and is different from other passwords you use. If you’re unsure about your password strength, read this article on Selecting a Strong Password.

If you are unsure about any of this information, contact your hosting provider for assistance.

Adding SSH Credentials with Private Key

​​To use SSH, you’ll need to first generate a private/public key pair on your server. Once you’ve done that, copy the private key and add it to a text file somewhere on your computer. 

​​To use SFTP credentials, you’ll need the following information: 

  • Credential type: This will be SFTP/SSH
  • Server address: This is often your site URL, but some hosts require you to use a different, special domain or an IP address. Note: If you’re using Cloudflare with your website, you will always need to use the server’s IP address where your site is located.
  • Port Number: This will be 22 or 18765 for SSH. Double-check with your hosting provider to ensure you have the right one.
  • WordPress installation path: This should point to the directory on your server where your WordPress installation is located.
  • Server username: This username should have read and write access to your WordPress directory.
  • Server password: This field is optional if you’re using a private key. If you enter one, Jetpack will try the private key and the password both. Try to make sure this password is secure and is different from other passwords you use. If you’re unsure about your password strength, read this article on Selecting a Strong Password.
  • SSH Private key: Make sure that it is not password protected and using OpenSSH/RSA format. Password protected private keys and/or keys in PuTTY format are not supported.

If you are unsure about any of this information, contact your hosting provider for assistance.

Get help

Do you still have questions? Feel free to contact support for more personalized assistance.

  • Table Of Contents

  • Categories

  • Contact Us

    Need more help? Feel free to contact us.