How to import sessions into MobaXterm?
Asked Answered
A

6

8

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?

Abortion answered 23/2, 2018 at 7:34 Comment(0)
W
15

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.

Weakly answered 7/1, 2019 at 12:1 Comment(3)
thanks But my problem is a little different I need a way to import over than 3000 session in a row. I can't create one by one 3000+ session But I undestanded that there's no way to do itAbortion
@Abortion I have import three sessions at once using this way, I can't see why you can't do the same.Weakly
I haven't undestood I don't have the file. I have to create the file and then import it. I can't create one by one 3000+ session's file nor one with 3000+ session on it manually. I need a way to create it via script and then import it in moba. MAybe I find a way but's very hard to do cause moda don't give a way to know the SO of a machine directly and the format of the .session file is really a mess ThanksAbortion
S
5

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....

Sphenogram answered 23/2, 2018 at 15:38 Comment(1)
This should be marked as the correct answer. I got the same information from their support team. I skimmed over this reply when I first saw it, as there was some confusion on my part. I would like to extend some context to this solution for anyone else find this. Mobaxterm has a built in terminal, run the script command and it will give you a browse dialog, point to your .txt file. It will create a .mxtsessions file in the same folder. Then you can import it to a folder. Note, it only adds computers if they are turned on. You also need to select your credentials manually.Recipe
O
1

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).

Ontine answered 9/8, 2018 at 11:26 Comment(1)
thanks, I know that I can create a script, I'm just working on that, but it isn't a 'simple' nor 'immediate' solution. And the .mxtsessions format is really a mess ^__^ ThanksAbortion
A
0

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"

Acicula answered 22/2, 2023 at 1:13 Comment(0)
I
0

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.

Illmannered answered 5/3, 2023 at 13:43 Comment(0)
R
0

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.

Recipe answered 11/6 at 11:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.