Security

Store the mRemoteNG Connection File Safely

Published November 20, 2026

Historic black-and-white photo of an ornate iron lock and its key.
Photo: Scandinavian / Wikimedia Commons, Public domain

A connection file can hold saved credentials for many servers. Anyone who gets the file and can open it has the same reach as the account it stores. Treat it like a password database.

Protect the file with a password

When you save the connection file, use the option to protect it with a password, and choose a long passphrase that is stored in your password manager. The file is useless without it. Do not save the passphrase next to the file.

Limit who can read the file

  • Keep the file on a share that only the IT group can read.
  • Do not put it in a shared folder that users can browse.
  • Do not email it or copy it to a personal drive.

Avoid saved credentials where you can

Where a server supports integrated authentication, let the account of the signed-in administrator be used and do not save a password at all. Store only the credentials that the connection really needs, and use separate service accounts with the least rights for them.

Rotate after a change

When an administrator leaves, change the passphrase and rotate every saved service password that the leaver could read. Keep a note of the date of each rotation in the description of the folder, not in the password field.

Options for a team

If several administrators share one list, the project documentation describes a SQL configuration for storing the connections in a database. A database gives you access control per user, but it also needs its own backups and hardening, so plan it with the database team.

For how to keep the wider set of team passwords, see the guide on sharing admin passwords safely with KeePassXC.

Sources