Skip to main content

Creating your SFTP key pair for a Paytronix SFTP site

Use this article to create an SSH key pair for your Paytronix SFTP site. You need a key pair when Paytronix Support creates a new SFTP site, or when you want a new key added to an existing site

Written by Matt Ford

Creating your key pair

Choose the method that matches your computer:

Windows: PuTTYgen

  1. Download and open PuTTYgen, which is included in the PuTTY download.

  2. Under Parameters, select RSA.

  3. Set Number of bits in a generated key to 2048.

  4. Click Generate, then move your mouse over the blank area until the progress bar is full.

  5. Optional: enter a passphrase in Key passphrase and Confirm passphrase. A passphrase adds protection, and you will need it each time you connect.

  6. Copy all the text in the box labelled Public key for pasting into OpenSSH authorized_keys file.

  7. Paste it into Notepad and save the file as paytronix_public_key.pub. Set Save as type to All Files so Notepad does not add .txt.

  8. Click Save private key and save it as paytronix_private_key.ppk.

Windows 10 or 11: Command Prompt or PowerShell

Windows includes the tools needed for this method. If ssh-keygen is not recognised, or FileZilla will not accept the key, use the PuTTYgen method instead.

ssh-keygen -t rsa -b 2048 -f paytronix_key

This creates two files in your current folder: paytronix_key (private) and paytronix_key.pub (public). Press Enter at the passphrase prompts to skip a passphrase, or type one to protect the key.

Mac or Linux: Terminal

ssh-keygen -t rsa -b 2048 -f ~/paytronix_key

This creates paytronix_key (private) and paytronix_key.pub (public) in your home folder. Press Enter at the passphrase prompts to skip a passphrase, or type one to protect the key.

Storing your private key safely

⚠️ DO NOT SEND PRIVATE KEY TO PAYTRONIX

  • Keep the private key only on your computer and in secure backup storage.

  • Never email, upload or share it, including with Paytronix or Access.

  • If you lose your private key, or think someone else has it, create a new key pair and send the new public key to Paytronix Support.

Sending your public key to Paytronix Support

Once the keys are created, send only the public key file to support using one of these secure methods:

  • ShareFile: Paytronix Support will send you a secure upload link. Upload your .pub file through that link.

  • Encrypted email: Send the .pub file as an encrypted email.

Waiting for confirmation

Once Paytronix installs your public key on the SFTP server for your merchant account, you will receive an email with your username and connection details. You do not use a password for SFTP. You connect with your key pair.

Connecting to your Paytronix SFTP site with FileZilla

1. Open FileZilla and go to File > Site Manager.

2. Click New Site and give it a name, for example "Paytronix SFTP".

3. Enter these settings:

Setting

Value

Protocol

SFTP - SSH File Transfer Protocol

Host

ftp.prod.paytronix.com

Port

8022

Logon Type

Key file

User

Your username, for example m1082

Key File

Your private key file. Use paytronix_private_key.ppk from PuTTYgen. FileZilla may also accept an OpenSSH key such as paytronix_key.

4. Click Connect. If you set a passphrase, enter it when prompted.

5. Once connected, transfer a small test file. Then confirm with Paytronix Support where your files should go.

Troubleshooting

Message or problem

What to check

"Server refused our key" or "Permission denied (publickey)"

The public key may not be installed yet, or you are using a private key that does not match the public key you sent. Contact Paytronix Support.

FileZilla asks for a password

Set Logon Type to Key file.

Key file is rejected

Select the private key, not the .pub file. If FileZilla offers to convert the key to .ppk, accept and keep your original key as a backup.

Passphrase prompt

Enter the passphrase you set when you created the key.

Cannot connect at all

Check the host (ftp.prod.paytronix.com) and port (8022). Check that your firewall or network is not blocking port 8022.

Did this answer your question?