---
title: Authenticate SFTP exports with a password or SSH key
description: Compare password and SSH key authentication for SchoolDay SFTP exports, and generate an SSH key pair for a data source.
---

[Skip to content](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#main-content)

English

Show submenu for translations

[More support](https://help.schoolday.com/knowledge/kb-tickets/new?hsLang=en) [Customer portal](https://help.schoolday.com/support?hsLang=en)

![gg4l logo](https://help.schoolday.com/hs-fs/hubfs/Automated%20emails/gg4l%20logo.png?width=100&height=33&name=gg4l%20logo.png)

- [Go to Knowledge Base](https://help.schoolday.com/knowledge)

Open main navigation

Close main navigation

- [Go to Knowledge Base](https://help.schoolday.com/knowledge)
- English
  
  Show submenu for translations
- [More support](https://help.schoolday.com/knowledge/kb-tickets/new)
- [Customer portal](https://help.schoolday.com/support)

 What are you looking for?

- There are no suggestions because the search field is empty.

1. [SchoolDay Help Center](https://help.schoolday.com/knowledge?hsLang=en)
2. [Roster Integrations](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en)
3. [SFTP](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en#sftp)

September 10, 2026

# Authenticate SFTP exports with a password or SSH key

## Learn how to select and configure authentication for SFTP export data sources.

**In this article**

- [Requirements](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#requirements)
- [Set up password-based authentication](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#password-based-authentication)
- [Set up key-based authentication](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#key-based-authentication)
- [Verify the configuration](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#verify)
- [Regenerate a key pair](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#regenerate-key-pair)
- [Switch between authentication types](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#switch-between-authentication-types)
- [Troubleshooting](https://help.schoolday.com/knowledge/sftp-export-authentication-password-vs-ssh-key#troubleshooting)

This article explains how to authenticate your SchoolDay SFTP export data source using either password-based credentials or SSH key pairs. Choose the method that matches your server's security requirements:

- **Password-based authentication:** Best suited for servers supporting standard password logins. This default method requires no additional setup.
- **SSH key-based authentication:** Best suited for servers demanding enhanced security or prohibiting password logins.

### Requirements

- Primary District Admin permissions
- An existing SFTP export data source. For more information, see [Configure an SFTP Integration](https://help.schoolday.com/knowledge/configure-a-sftp-integration?hsLang=en).
- A remote server that supports SSH key authentication (required for key-based authentication only)

### Set up password-based authentication

On the **Delivery Config** tab, enter the username and password provided by your remote server administrator, then click Save. No additional configuration is required. For more information, see [Configure an SFTP Integration](https://help.schoolday.com/knowledge/configure-a-sftp-integration?hsLang=en).

![](https://help.schoolday.com/hs-fs/hubfs/undefined-Aug-03-2026-11-51-42-5819-AM.png?width=670&height=336&name=undefined-Aug-03-2026-11-51-42-5819-AM.png)

### Set up key-based authentication

1. Go to **Connect** \> **Home** and select the SFTP export app.
2. Go to **Settings** \> **Delivery Config**.
3. Click **Use SSH Key Instead**.
4. Click **Generate**.
5. Copy the displayed public key.  
   ![](https://help.schoolday.com/hs-fs/hubfs/undefined-Aug-03-2026-11-51-42-2265-AM.png?width=670&height=294&name=undefined-Aug-03-2026-11-51-42-2265-AM.png)
6. Add your public key to the `authorized_keys` file on the remote server.
7. Click **Test Connection** to confirm the server accepts the key.

**Note:** SchoolDay generates a 4096-bit RSA key pair and securely stores the private key, which is never displayed. Only the public key is available to copy.

### Verify the configuration

- **Test Connection** returns a success message.
- The next scheduled export run completes without an authentication error. You can confirm this in the sync history log under Settings \> Sync History.

### Regenerate a key pair

If the remote server requires a new key (for example, following a security review), click **Generate SSH key pair** again. This immediately replaces the stored key pair. Any export runs that start after regeneration will fail until the new public key is registered on the remote server. Register the new public key on the remote server before the next scheduled export run to avoid interruption.

### Switch between authentication types

Switching from password-based to key-based authentication is permanent for that data source. Once a key is generated, you cannot revert the data source to password-based authentication.

If you need password-based authentication again, create a new SFTP export data source and configure it with a password.

### Troubleshooting

| **Symptom** | **Cause** | **Fix** |
| --- | --- | --- |
| Test Connection fails after generating a key | The public key hasn't been added to the server's `authorized_keys` file yet | Copy the public key again and confirm the server owner has added it |
| Export runs fail with an authentication error | The key on the server doesn't match the current key in SchoolDay | Check whether the key was regenerated after the server was last updated; re-copy and re-register the current public key |

### Next steps

- [Configure an SFTP Integration](https://help.schoolday.com/knowledge/configure-a-sftp-integration?hsLang=en)
- [Troubleshoot roster data sync issues](https://help.schoolday.com/knowledge/troubleshoot-sync-issues?hsLang=en)

- [Getting Started](https://help.schoolday.com/knowledge/getting-started?hsLang=en#main-content)

    - [Introduction](https://help.schoolday.com/knowledge/getting-started?hsLang=en#introduction)
    - [Getting Started by Role](https://help.schoolday.com/knowledge/getting-started?hsLang=en#getting-started-by-role)
    - [Get Support](https://help.schoolday.com/knowledge/getting-started?hsLang=en#get-support)
    - [Legal](https://help.schoolday.com/knowledge/getting-started?hsLang=en#legal)
- [Data Management (Connect)](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#main-content)

    - [Introduction](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#introduction)
    - [Applications](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#applications)
    - [Data Mapping](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#data-mapping)
    - [Data Synchronization](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#data-synchronization)
    - [Data-Sharing Requests](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#data-sharing-requests)
    - [Data Quality](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#data-quality)
    - [Data Privacy (Privacy Shield)](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#data-privacy-privacy-shield)
    - [Grade Sync Service](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#grade-sync-service)
    - [Miscellaneous](https://help.schoolday.com/knowledge/data-management-connect?hsLang=en#miscellaneous)
- [Roster Integrations](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en#main-content)

    - [Introduction](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en#introduction)
    - [SFTP](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en#sftp)
    - [PowerSchool Integration](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en#powerschool-integration)
    - [Import Integrations](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en#import-integrations)
    - [Export Integrations](https://help.schoolday.com/knowledge/roster-integrations?hsLang=en#export-integrations)
- [Administration & Account Settings](https://help.schoolday.com/knowledge/administration-account-settings?hsLang=en#main-content)

    - [Account Settings](https://help.schoolday.com/knowledge/administration-account-settings?hsLang=en#account-settings)
    - [Organization Management](https://help.schoolday.com/knowledge/administration-account-settings?hsLang=en#organization-management)
- [SSO](https://help.schoolday.com/knowledge/sso?hsLang=en#main-content)

    - [Introduction](https://help.schoolday.com/knowledge/sso?hsLang=en#introduction)
    - [Identity provider (IdP) Setup](https://help.schoolday.com/knowledge/sso?hsLang=en#identity-provider-idp-setup)
    - [SSO Applications](https://help.schoolday.com/knowledge/sso?hsLang=en#sso-applications)
    - [SSO Resources](https://help.schoolday.com/knowledge/sso?hsLang=en#sso-resources)
    - [MFA for Administrators](https://help.schoolday.com/knowledge/sso?hsLang=en#mfa-for-administrators)
    - [MFA for Users (SchoolDay Login)](https://help.schoolday.com/knowledge/sso?hsLang=en#mfa-for-users-schoolday-login)
    - [ID Card Login](https://help.schoolday.com/knowledge/sso?hsLang=en#id-card-login)
    - [SSO Troubleshooting](https://help.schoolday.com/knowledge/sso?hsLang=en#sso-troubleshooting)
- [LMS Integrations](https://help.schoolday.com/knowledge/lms-integrations?hsLang=en#main-content)

    - [Coursera Integration Video Guides](https://help.schoolday.com/knowledge/lms-integrations?hsLang=en#coursera-integration-video-guides)
    - [Coursera Platform Integration](https://help.schoolday.com/knowledge/lms-integrations?hsLang=en#coursera-platform-integration)
    - [Qwiklabs Platform Integration](https://help.schoolday.com/knowledge/lms-integrations?hsLang=en#qwiklabs-platform-integration)
    - [LMS Integrations instructions](https://help.schoolday.com/knowledge/lms-integrations?hsLang=en#lms-integrations-instructions)
- [Resource Management (App Store)](https://help.schoolday.com/knowledge/resource-management-app-store?hsLang=en#main-content)

    - [Users & Classes](https://help.schoolday.com/knowledge/resource-management-app-store?hsLang=en#users-classes)
    - [Resources](https://help.schoolday.com/knowledge/resource-management-app-store?hsLang=en#resources)
    - [Access & Security](https://help.schoolday.com/knowledge/resource-management-app-store?hsLang=en#access-security)
- [Privacy Governance Console (PGC)](https://help.schoolday.com/knowledge/privacy-governance-console-pgc?hsLang=en#main-content)

    - [Get Started](https://help.schoolday.com/knowledge/privacy-governance-console-pgc?hsLang=en#get-started)
    - [Monitor and Report](https://help.schoolday.com/knowledge/privacy-governance-console-pgc?hsLang=en#monitor-and-report)
    - [Govern Apps](https://help.schoolday.com/knowledge/privacy-governance-console-pgc?hsLang=en#govern-apps)
- [For Parents/Students](https://help.schoolday.com/knowledge/for-parents-students?hsLang=en)
- [For Vendors](https://help.schoolday.com/knowledge/for-vendors?hsLang=en)
- [Updates](https://help.schoolday.com/knowledge/updates?hsLang=en#main-content)

    - [2026](https://help.schoolday.com/knowledge/updates?hsLang=en#2026)
    - [2025](https://help.schoolday.com/knowledge/updates?hsLang=en#2025)
    - [2024](https://help.schoolday.com/knowledge/updates?hsLang=en#2024)
    - [2023](https://help.schoolday.com/knowledge/updates?hsLang=en#2023)
    - [2022](https://help.schoolday.com/knowledge/updates?hsLang=en#2022)
- [Reference](https://help.schoolday.com/knowledge/reference?hsLang=en#main-content)

    - [APIs](https://help.schoolday.com/knowledge/reference?hsLang=en#apis)
    - [CSV File Formats](https://help.schoolday.com/knowledge/reference?hsLang=en#csv-file-formats)

[![SchoolDay logo](https://help.schoolday.com/hs-fs/hubfs/schoolday-logo%20(300%20x%20100%20px)%20(1).png?width=300&height=100&name=schoolday-logo%20(300%20x%20100%20px)%20(1).png "SchoolDay logo")](http://schoolday.com)

<https://www.linkedin.com/company/schooldayinc> <https://x.com/schooldayinc> <http://facebook.com/schooldayinc> [mailto:support@schoolday.com](mailto:support@schoolday.com)

Copyright © 2025, SchoolDay, Inc.