Authentication Methods

The plugin supports multiple SSH authentication methods and tries them in the order best suited to your configuration.

Available Authentication Methods

Password Authentication

Public Key Authentication

SSH Agent (Pageant)

Keyboard-Interactive

Keyboard-interactive is a server-driven challenge-response mechanism. The server sends one or more prompts; the plugin answers each one.

2FA via keyboard-interactive: If your server requires a password + TOTP code (e.g. Google Authenticator), the plugin will first try the saved password, then prompt you for the OTP code. No special configuration is needed — just answer the prompts as they appear.

Authentication order (fallback chain)

  1. Pageant (if "Use SSH agent" is checked and Pageant is running)
  2. Key file (if a private key file is specified)
  3. Keyboard-interactive
  4. Password

Each method is tried only if advertised by the server. The chain stops at the first success.

Key File Formats

PEM Format (OpenSSH)

PPK Format (PuTTY) — native, no external tool needed

PPK versionKey derivationEncryptionSupport
PPK v2SHA-1 basedAES-256-CBCFull native support
PPK v3Argon2d / Argon2i / Argon2idAES-256-CBCFull native support — no DLL needed

Key format detection

The plugin automatically detects whether a key is PEM or PPK from the file header. You do not need to tell the plugin which format is used.

Using Public Key Authentication

Setup steps

  1. Generate a key pair with ssh-keygen or PuTTYgen.
  2. Copy the public key to the server: append it to ~/.ssh/authorized_keys.
  3. In the plugin dialog, click the >> button next to Private key file and browse to your key.
  4. For PEM keys: the public key field can be left empty (derived automatically).
    For PPK keys: the public key field is also not required — the public key is embedded in the PPK file.
  5. If the key has a passphrase, you will be prompted when connecting.

Passphrase handling

Storing a password and a passphrase together

A session holds one password field. When you need both an account password and a key passphrase, put both in it, each in quotes and separated by a comma:

"account password","key passphrase"

The first value is sent to the server, the second only unlocks the private key. Leave the first empty ("","key passphrase") for key-only logins. A field that does not have this exact shape is treated as a plain account password, so ordinary passwords need no quoting.

Using Pageant (SSH Agent)

Setup

  1. Start Pageant (included with PuTTY).
  2. Load your private key(s) into Pageant.
  3. In the plugin dialog, check Use SSH agent (Pageant).
  4. Connect — the plugin queries Pageant for available keys and tries each one.

Auto-launch

If Pageant is not running when you connect, the plugin checks for a file named pageant.lnk in the plugin directory (...\plugins\wfx\SFTPplug\). If found, it launches Pageant automatically, waits briefly, then retries agent authentication.

Common Issues

Key authentication fails

PPK conversion fails

Pageant not detected

Keyboard-interactive prompts

Security Recommendations

Back to index