Last updated: 7 Nov 26 01:18:42 (UTC)

FFS SFTP with no unencrypted information

 

The important distinction is that SSH public/private keys are the authentication credentials, while an SSH agent manages the private key so applications can authenticate without repeatedly asking for its passphrase.

How the three options work

Option How it works Unattended backups
Password FreeFileSync stores or requests the SFTP password Yes, but exposes stored credentials
Key file FreeFileSync directly reads an SSH private key Yes, if the key is unencrypted or otherwise accessible without prompting
Pageant FreeFileSync asks an SSH agent to authenticate using a loaded private key Yes, while the agent is available and the key is loaded

My recommendation: Use Pageant

For your Windows environment, I'd configure the following:

  1. Generate an SSH key pair. The public key goes on the SFTP server. The private key stays on Windows.
  2. Protect the private key with a passphrase. This prevents someone who copies the key file from immediately using it.
  3. Install and configure PuTTY Pageant. Load the private key and unlock it once.
  4. Select Pageant in FreeFileSync, as shown in your screenshot. Enter the SFTP server address and username.
  5. Run the scheduled FreeFileSync batch jobs. FreeFileSync requests authentication through Pageant rather than storing an SFTP password.

What happens when Windows starts?

Windows login

Pageant loads your private key

Enter the key passphrase once after login.

Windows Task Scheduler runs FreeFileSync

Pageant authenticates the SFTP connection

No password or private-key passphrase needs to be stored in the FreeFileSync profile.

One limitation

Pageant typically runs in the logged-in user's session. If Task Scheduler is configured to Run whether user is logged on or not, the scheduled process may not be able to communicate with that Pageant instance.