The following steps outline the process of configuring the SFTP system by generating SSH keys using the Windows key generator - ssh-keygen -m PEM
Step 1: Command Prompt
Open the Windows Command Prompt by pressing the Windows key, typing "cmd," and press Enter.
Step 2: Key Generation
In the command prompt to generate the SSH key, use the following command: ssh-keygen -m PEM and press Enter.
This will generate public/private rsa key pair.
Step 3: Specify Key File Path
Upon prompt, enter a file path (e.g., C:\SFTPKeys\JohnSmith\id_rsa) and press Enter.
Ensure that you securely manage your private key and do not share it. The public key can be provided to the SFTP server for secure authentication.
Step 4: Enter Passphrase
Enter a password when prompted, and press Enter. Confirm the password by entering it again and pressing Enter. If a password is not required, press Enter and confirm by pressing Enter again.
Step 5: Acknowledge Key Creation
Upon completion, you will receive messages indicating successful key creation.
Step 6: Navigate to Key Directory
Go to the specified directory where keys are stored (C:\SFTPKeys\JohnSmith).
Ensure you have two keys:
You can use the Test button to test the SFTP setup.
The file ‘’PSEFTTRFRTEST.TXT’’ will be created when selecting the Test button and uploaded.
A message will be displayed if the upload is successful or failed. The log file ‘’PSEFTSecure.log’’ will be updated. This file is in the cbXX directory. Check the log file if the Test failed.
Note: A common error when using SFTP with key file is to use the wrong key file or a key file in the wrong format. See Key file setup.
Message: SFTP with Password File transfer failed: 'count' must be non-negative. Parameter name: count
Solution: Incorrect password