Cloud Computing & Enterprise Tech / May 10, 2025

How to Retrieve a Saved SFTP Password from FileZilla on macOS

FileZilla SFTP password macOS retrieve password base64 decode FileZilla config sitemanager.xml secure FTP terminal password recovery

If you're using FileZilla on macOS to manage your SFTP connections, you may have opted to save your password for convenience. Over time, however, you might forget what that password was. Fortunately, if you previously saved the password, it can be retrieved from FileZillaโ€™s configuration files.

๐Ÿ“‚ Step 1: Open FileZilla Configuration Directory

FileZilla stores its site settings and credentials in a hidden folder within your user directory. To access this:

  1. Open Terminal.
  2. Run the following command to open the configuration folder:
bash

open ~/.config/filezilla

This will open the filezilla folder in Finder, which contains all your configuration files.

๐Ÿ“„ Step 2: Locate and Open sitemanager.xml

Within the configuration folder, look for a file named sitemanager.xml. This file contains all your saved SFTP site profiles. Open it using a text editor such as TextEdit or Visual Studio Code.

Inside, you'll see XML blocks representing each saved site. For example:

xml

<Server>
    <Host>sftp.example.com</Host>
    <Port>22</Port>
    <Protocol>1</Protocol>
    <User>your_username</User>
    <Pass encoding="base64">cGFzc3dvcmQxMjM=</Pass>
</Server>

๐Ÿ” Step 3: Decode the Saved Password

The password, if saved, will be Base64-encoded. You can decode it using the Terminal:

bash

echo cGFzc3dvcmQxMjM= | base64 -d

This will return your plain-text SFTP password. If you see something like password123, that's your original password.

โš ๏ธ Important: FileZilla does not encrypt passwords โ€” they are only base64-encoded, which is not secure. Anyone with access to this file can decode your password, so take care when sharing or backing up this file.

๐Ÿ›ก๏ธ Step 4: Consider Using SSH Keys

For improved security, consider switching to SSH key-based authentication for your SFTP access. This avoids the need to store plain passwords and enhances overall connection security.

By following these steps, you can easily retrieve your saved SFTP password from FileZilla on macOS โ€” as long as it was saved in the first place. If not, you'll need to reset it through your server or hosting provider.


Comments

No comments yet

Add a new Comment

NUHMAN.COM

Information Technology website for Programming & Development, Web Design & UX/UI, Startups & Innovation, Gadgets & Consumer Tech, Cloud Computing & Enterprise Tech, Cybersecurity, Artificial Intelligence (AI) & Machine Learning (ML), Gaming Technology, Mobile Development, Tech News & Trends, Open Source & Linux, Data Science & Analytics

Categories

Tags

©{" "} Nuhmans.com . All Rights Reserved. Designed by{" "} HTML Codex