3 Tips for mRemoteNG - Remote Connections Manager

Unlocking Advanced Functionality in mRemoteNG
Do you frequently switch between using mRemoteNG for SSH access and then manually launching WinSCP to connect to the same server? Perhaps you've considered a method to retrieve the stored password directly from an mRemoteNG connection configuration.
This article, brought to you by HTG, will demonstrate how to maximize the capabilities of mRemoteNG for streamlined remote access.
Previously, we provided a foundational overview of mRemoteNG in our guide, "How to Use mRemoteNG to Manage All Your Remote Connections." This article expands upon that knowledge, presenting advanced techniques discovered through regular usage.
Leveraging mRemoteNG for Enhanced Workflow
mRemoteNG offers a powerful suite of features beyond basic remote connection management. Understanding these features can significantly improve your productivity.
The ability to automate tasks and integrate with other tools is a key strength of mRemoteNG. This allows for a more efficient and centralized approach to remote administration.
Accessing Connection Details
Retrieving connection information, including passwords, from within mRemoteNG can be valuable in certain scenarios. However, exercise caution when handling sensitive credentials.
Always prioritize security best practices when working with passwords and ensure appropriate access controls are in place.
Integration with WinSCP and Other Tools
Seamless integration with tools like WinSCP is a major benefit of mRemoteNG. This eliminates the need for separate application launches and streamlines file transfer operations.
Consider exploring other integrations to further customize your remote access experience.
- Automate repetitive tasks.
- Centralize all remote connections.
- Improve overall workflow efficiency.
By mastering these advanced techniques, you can unlock the full potential of mRemoteNG and optimize your remote access workflow.
Integrating WinSCP with mRemoteNG
We have previously discussed WinSCP; for those managing Linux systems from a Windows environment, it’s a valuable tool to have readily available.
Many users discovering mRemoteNG are unaware of its integration capabilities with WinSCP. Consequently, they often maintain separate connection databases for each program.
Furthermore, mRemoteNG’s comprehensive nature sometimes leads users to prioritize it, resulting in manual entry of connection details each time WinSCP is needed.
This workflow can be streamlined using mRemoteNG’s “External Tools” functionality. This feature allows WinSCP to be launched with all connection information already stored within mRemoteNG.
If WinSCP isn’t currently installed on your system, now is an ideal time to do so.
To configure an external tool, navigate to the “Tools” menu and select “External Tools”.
This action will open the “External Tools” tab.
Right-click within the upper section of the tab to access a menu for creating a “New External Tool”.
In the lower portion of the screen, modify the “Display name” field to read “WinSCP” for easy identification.
Within the “Filename” field, enter the following string:
sftp://%Username%:%Password%@%Hostname%
The completed configuration should appear as shown:
You have now successfully integrated WinSCP with mRemoteNG.
To utilize this new functionality, right-click on a connection tab of the SSH type. Select “External Tools” from the context menu, and then choose the “WinSCP” option you just created.
This will automatically launch WinSCP with the pre-configured connection details.
Password Recovery in mRemoteNG
mRemoteNG stores all passwords using reversible encryption, enabling their retrieval for each connection. This allows for the extraction of saved credentials on an individual connection basis.
To accomplish this, we will configure mRemoteNG to output the "password" parameter using the "echo" command within a standard command prompt.
Creating the Password Revealer Tool
Begin by adding a new "External Tool," similar to the process described previously. Name this tool "Password Revealer."
In the "filename" field, simply enter "cmd." This specifies that the command prompt will be used.
Unlike the prior example, the "Arguments" line requires a specific command:
/k echo "%password%"
Final Tool Configuration
The completed configuration should appear as follows:

Utilizing the Password Revealer
To use this new functionality, right-click on the tab of an SSH connection.
From the context menu, select "External Tools," then choose the "Password Revealer" option you created.

This will execute the command and display the stored password in the command prompt window.
Important: Exercise caution when using this method, as displaying passwords in plain text can pose a security risk.
Securing mRemoteNG Connection Files
Managing numerous connection profiles within mRemoteNG is common, especially as teams grow. Sharing the connection file with new members presents a security concern, as it could expose stored credentials. Fortunately, a straightforward solution exists to mitigate this risk.
This guide details the process of removing passwords globally from an mRemoteNG connection file, ensuring secure distribution.
While this process requires some technical proficiency, it is relatively simple to execute.
Begin by ensuring you have a text editor capable of utilizing regular expressions, such as Notepad++ or Sublime Text. We will demonstrate the procedure using Notepad++.
First, close mRemoteNG completely. Then, open the connection file within your chosen editor. By default, this file is located in "C:\Users\%your-username%\AppData\Roaming\mRemoteNG".
Initiate a "Replace" operation (Ctrl + H) and switch the "Search Mode" to "Regular expression". Subsequently, replace the following:
Password=".+?" H
With:
Password="" H
The result will effectively clear all password fields within the file.

Execute the "Replace All" function and then save the modified file as a new, sanitized version. This ensures the original, potentially sensitive file remains untouched.
Exploring the Potential of mRemoteNG
Do you have a useful tip or technique for mRemoteNG that you'd like to contribute? Please share your insights with the community in our discussion forum.
Allow me to demonstrate the considerable capabilities of Tessaiga.
mRemoteNG: A Powerful Tool
mRemoteNG is a tabbed, multi-monitor, multi-protocol remote connection manager.
It allows users to create and manage connections to various remote systems from a single application.
Tessaiga's Functionality
Tessaiga represents a significant level of power and versatility.
Its true potential is revealed through practical application and understanding of its features.
Community Contributions
We actively encourage users to participate and share their knowledge.
Your contributions to the discussion forum help enhance the experience for everyone using mRemoteNG.
Sharing Your Expertise
If you've discovered a clever workaround or a helpful configuration within mRemoteNG, we invite you to post it.
The forum serves as a valuable resource for learning and problem-solving.
Discovering Tessaiga's Strengths
The demonstration will highlight Tessaiga’s core functionalities.
It will showcase how these features can be leveraged for optimal performance.
Engage with the Community
Participate in discussions and learn from other users’ experiences.
The forum is a great place to ask questions and receive assistance with mRemoteNG.