Skip to content
English
  • There are no suggestions because the search field is empty.

Create an SFTP Account

This guide explains how to create an SFTP account and generate the required SSH key pair for secure file transfers between your system and Expense.

 For Windows Users

Step 1 – Download PuTTY

  1. Visit www.putty.org
  2. Click Download PuTTY, or download it directly using the installation link provided by PuTTY.
  3. Install PuTTY on your computer.

✅ PuTTY and PuTTYgen are now available.


Step 2 – Generate an SSH Key Pair

  1. Open PuTTYgen.
  2. Click Generate.
  3. Move your mouse around the empty space until the progress bar is completed.

✅ Your SSH key pair will be generated.


Step 3 – Save the Public Key

  • Click Save Public Key.
  • Save the file as: pub_key
  • If prompted for a passphrase, leave it empty.

✅ The public key is ready to be uploaded to Expense.


Step 4 – Save the Private Key

  1. Click Save Private Key.
  2. Save the file as:
priv_key
 

✅ Keep this file secure; it will be required when connecting to the SFTP server.


Step 5 – Upload the Public Key

  1. Return to the Expense web portal.
  2. Select Upload Public Key.
  3. Upload the file you saved as pub_key.

✅ Your key is now registered in Expense.



     For Apple macOS and Linux Users

    Step 1 – Open Terminal

    Open the Terminal application.


    Step 2 – Generate an SSH Key Pair

    Run the following command:

     ssh-keygen -t rsa -b 4096 -C "your-email@example.com" 

    Replace the email address with your own email address.


    Step 3 – Choose a Storage Location

    Select the folder where you want to save the keys.

    ✅ The key files will be generated in the selected location.


    Step 4 – Leave the Passphrase Empty

    When prompted for a passphrase:

    1. Press Enter
    2. Press Enter again

    ✅ No passphrase will be assigned.


    Step 5 – Upload the Public Key

    Locate the public key file:


    1id_rsa.pub
     

    Upload this file using the Expense web portal.

    ✅ The public key is ready for use.


    Upload the Public Key in the Expense Web Portal

    Step 1 – Enter a Key Title

    Provide a descriptive name for the key.

    Example:

    Expense Public Key

    Step 2 – Upload the File

    1. Select the public key file.
    2. Click Import.

    ✅ The key will be registered in Expense.


    Step 3 – Verify the Upload

    Once the upload is successful:

    ✅ Your SFTP account is ready for testing.


    Test the Configuration

    Step 1 – Record Connection Details

    Note the following information:

    • Account Name
    • Host Name
    • FTP/SFTP Port

    ✅ You will need these details when connecting.


    Step 2 – Download an SFTP Client

    We recommend using FileZilla.

    Download FileZilla here:

    https://filezilla-project.org/download.php?show_all=1

    ✅ Install FileZilla on your computer.


    Step 3 – Open Site Manager

    1. Launch FileZilla.
    2. Open:

    Site Manager

    or navigate to:

    File > Site Manager

    ✅ Create a new connection.


    Step 4 – Configure the Connection

    1. Enter the server details provided by Expense.
    2. Select:

    Logon Type: Key File

    1. Browse to and select your private key file:

    priv_key
    1. Complete the remaining connection settings.

    ✅ The SFTP connection is configured.


    Step 5 – Connect to the Server

    1. Click Connect.

    If the connection is successful, you should receive a message similar to:

    Success
     

    ✅ Your SFTP account is now active and ready to use.


    💡 Best Practice Tips

    • 🔒 Keep your private key secure and never share it.
    • 📁 Store backup copies of your keys in a secure location.
    • ✅ Use descriptive key names when uploading public keys.
    • 🔄 Test the connection immediately after creating the account.
    • 🖥️ Use FileZilla or another SFTP client that supports SSH key authentication.

    Frequently Asked Questions (FAQ)

    What is the difference between the public and private key?

    The public key is uploaded to Expense. The private key remains on your computer and is used to authenticate your connection.

    Can I use another SFTP client instead of FileZilla?

    Yes. Any SFTP client that supports SSH key authentication can be used.

    Should I set a passphrase on my key?

    For Expense SFTP integrations, leave the passphrase empty unless your organization's security policy requires one.

    Which file should I upload to Expense?

    Upload the public key file:

    pub_key
     

    or

    id_rsa.pub
     

    depending on your operating system.

    What if the connection test fails?

    Verify that:

    • The correct private key is selected
    • The host, username, and port are correct
    • The public key has been uploaded successfully

    Summary

    • 🔑 Generate an SSH key pair
    • 📤 Upload the public key to Expense
    • 🔒 Store the private key securely
    • 🌐 Configure your SFTP client using the provided connection details
    • ✅ Test the connection using FileZilla or another SFTP client
    • 🚀 Securely transfer files between your systems and Expense using SFTP authentication