LordMax
LordMax

Reputation: 176

How to import sessions into MobaXterm?

I have to monitor many servers (over 3000) and the management has decided to use MobaXterm. All right, it works fine.

The ideal would be to have sessions already set up and shared with colleagues, it would be a considerable convenience.

Is there a way to massively import server data (name, ip, login) into sessions instead of insert them one by one?

Upvotes: 8

Views: 114989

Answers (6)

Rosski
Rosski

Reputation: 72

I just got Pro version and I was disappointed you can't do this. I previously used RDPMan, which allows you to batch import a text file filled with hostnames. I can fill a folder from an export taken from AD within a minute.

Although I got fed up with rdpman, with its annoying credential error popups. So I tried this software as a colleague suggested it. I seem to prefer this interface. So I have emailed their support team explaining the feature. So we might even see them improve the "Add session" screen so that it has a batch option to repeat the import based on a CSV or text file with delimiting based on new lines or commas per host.

For me to import the servers 1 by 1, it would take so long, that the developer could implement this feature quicker than I could input them.

-EDIT- I just got a reply from the developers. It seems that in this thread the correct answer is from DiViNe. I will leave a comment to their post with additional explanation.

Upvotes: 0

Matthew McDermott
Matthew McDermott

Reputation: 642

In MobaXTerm v23 you can choose Settings | Manage shared sessions. Save a session file, created with Share these sessions with my team to a secure location shared with your team and then establish a connection (shared, ftp, ssh, https) and you are set.

Sessions are automatically imported and configured. Updates to the file are propagated to the team.

Upvotes: 0

Yarden Yakobov
Yarden Yakobov

Reputation: 1

To import mRemoteNG connections into MobaXterm, you need to export the mRemoteNG connections file in name "confCons.xml" specifically (Otherwise MobaXterm won't recognize it as potential file for import)

Once you have your mRemoteNG connections file named as "confCons.xml", go to: MobaXterm -> Import sessions from third-party programs -> Import from MRemote sessions -> Choose the exported "confCons.xml"

Upvotes: 0

Paul
Paul

Reputation: 51

MobaXterm is able to import sessions from a list of hosts, but this is limited to the import of hosts without users/port/passwords/advanced settings. For that, you have to create a file with one server per line.

Then, in order to try this feature, you can start a local terminal and run the "ServersListToMxtSessions.sh" script. The script will ask you to select a file, so just select the one you have created.

Hope it helps....

Upvotes: 5

giannis christofakis
giannis christofakis

Reputation: 8321

From the Sessions tab, left click User sessions and select Import sessions from file

Import sessions from file

The file should be similar to the following image.

enter image description here

The version is Personal Edition v11.0.

Upvotes: 15

kenorb
kenorb

Reputation: 166319

MobaXterm is able to import sessions either from:

  • The file in .mxtsessions format.

    You can export few examples first to see the syntax, so you can write a script to save it into that format.

  • PuTTy/SuperPuTTy sessions.

    All sessions from PuTTy can be imported. To import into PuTTy, you can create a registry file.

  • Other session formats (check the contextual menu in Sessions for full list).

Alternatively use a macro app to achieve that (such as AutoHotkey).

Upvotes: 1

Related Questions