08 · Importing session files
08 · Operate

Importing session files

Read the connection lists saved in mRemoteNG or MobaXterm from a file and move them into manual instances and groups in one go.

Files you can import

The app reads three kinds of files. It imports SSH and RDP sessions; other protocols only appear in the list.

  • MREMOTENG

    confCons.xml

    The mRemoteNG connection list file.

    • Imported sessions: SSH2 → SSH, RDP → RDP
    • Saved passwords: imported as well if you choose to.
    • Key info: PuTTY session name
  • MOBAXTERM

    .mxtsessions

    A file of sessions exported from MobaXterm.

    • Imported sessions: SSH, RDP
    • Saved passwords: not included in the file.
    • Key info: key file path
  • MOBAXTERM

    MobaXterm.ini

    Reads the [Bookmarks] section of the MobaXterm settings file.

    • Imported sessions: SSH, RDP
    • Saved passwords: not included in the file.
    • Key info: key file path

Four places to open the import

Wherever you open it, it is the same Import sessions dialog. The import destination is preset depending on where you open it.

WhereWhat to pressImport destination
First screen with no projectsImport sessionsNew project
New project dialog (when the type is Manual)Import sessionsNew project
Right-click a project in the Project sidebarImport session fileThat project
Terminal › Instances panelFile-shaped iconCurrent project

Step 2: destination and session list

The sessions read from the file appear in their folder structure. Decide where to put them and check only the sessions to import.

  1. File summary

    The file name and the number of sessions and folders. Choose a different file with Choose another file.

  2. Destination

    New project creates a new manual project with the name you set. Existing project adds to the project you choose.

  3. Selection and filter

    The checkbox at the top selects everything; a folder's checkbox selects the whole folder. Use the box on the right to filter by name, host or user.

  4. Folder

    After import, it becomes a group in the Custom view of the Instances panel.

  5. Key icon

    A session whose password is saved in the file.

  6. Status

    Shows how this session will be handled. Rows that cannot be imported cannot be checked.

Step 2: SSH keys and options

The lower part of the same dialog. Decide whether to attach keys, skip duplicates and import passwords, then press Import N sessions.

  1. Key source

    The PuTTY session name (mRemoteNG) or key file (MobaXterm) recorded in the file, and the number of sessions that use that key.

  2. Whether the key is on this PC

    The key can be used right away only when this shows Key found on this PC.

  3. Key choice

    No key (decide when connecting) (default), Use the PuTTY session's key file, Choose a key file…, or a saved profile

  4. New key profile name

    Appears once a key file is read. For a passphrase-protected key, a Key passphrase field appears next to it.

  5. Skip sessions that already exist

    Skips sessions with the same host, port and user. On from the start.

  6. Import saved passwords

    Appears only for mRemoteNG files. When turned on, a mRemoteNG master password field appears; leave it empty if you did not use a master password.

Reading the status indicators

What the Status column of the session list and the badges in the SSH keys section mean. The right side shows the screen after reading a MobaXterm file.

LocationIndicatorMeaning
StatusNewAdded as new.
StatusDuplicateAn item with the same host, port and user already exists in the destination project or in the same file.
StatusNot supportedA protocol the app cannot open.
StatusNo hostAn item with an empty address.
StatusNot selectedAn item you unchecked.
SSH keysKey found on this PCThe key file of that PuTTY session, or the key file at that path, exists.
SSH keysNo key in this sessionThe PuTTY session exists, but no key file is set for it.
SSH keysKey file missingThe key file path is known, but there is no file at that location.
SSH keysNot on this PCNo PuTTY session with that name exists on this PC.

Step 3: result

When the import finishes, the dialog shows what went in and what was left out. If you created a new project, the app switches to that project.

  1. Summary

    The number of sessions added, the destination project, and the number of folders that became groups.

  2. Added / Skipped / Not supported / SSH keys

    The count and details of each. The number of passwords imported, the number that could not be decrypted, and the number of sessions with a key attached also appear here.

  3. Not imported

    The items left out and the reason (Reason).

  4. Import another file / Done

    Import another file next, or close the dialog.

What is created after import

Imported sessions are stored in the app's existing storage format. You can check them right away in the Instances panel of Terminal.

In the fileCreated in the app
SessionOne manual instance (name, address). Appears in the Manual section as [M] 이름 ([M] name).
Port, userThat instance's connection settings
SSH / RDPPer-instance protocol. The connection dialog opens with that protocol.
FolderGroups and subgroups in the Custom view
Password (optional)Saved in that instance's connection settings, and the authentication method becomes Password.
Key (optional)Saved as a new key profile, or an existing profile is assigned. If the same key already exists, no new one is created.
SSH session with no key chosenGoes in without a key. Choose a key profile or enter a password the first time you connect.

Unreadable files and errors

For an error at the file selection step, change the file; an error at the import step stops without saving anything.

Message shown (beginning)Cause and action
This mRemoteNG file is fully encrypted…Full file encryption is on. Turn it off in the mRemoteNG security options, save the file again, and use that file.
This file is not recognised…Not one of the three supported files.
The file is not valid XML…The file is truncated or corrupted.
No [Bookmarks] section was found…A MobaXterm.ini with no saved sessions.
This file is too large… / The file is empty.Larger than 20MB, or an empty file.
The master password is not correct. Nothing was imported.The master password is wrong. Enter it again.
This file is protected by a master password…Enter the master password or turn off Import saved passwords.
The key for “…” cannot be used yet…Check the key's passphrase or switch to No key.