Coder Social home page Coder Social logo

xtonousou / mobaxterm_to_remmina Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 2.0 42 KB

Tool to convert MobaXterm sessions to Remmina profiles with passwords

License: MIT License

Python 100.00%
converter mobaxterm pycryptodome remmina connection-manager

mobaxterm_to_remmina's Introduction

mobaxterm_to_remmina

Migrating to GNU/Linux from MS Windows and afraid of losing your precious MobaXterm sessions? Here is a handy tool to convert your sessions to Remmina profiles with their passwords included (optionally)

Installation

Clone/download the repo and install the requirements.

pip install -r ./requirements.txt

Usage

First of all, export the sessions from MobaXterm on MS Windows:

Export MobaXterm Configuration

Open up a Terminal or cmd and execute the commands below.

Convert to Remmina profiles without stored passwords:

python.exe mobaxterm2remmina.py ".\MobaXterm configuration (2022-06-05 04.15.06).mobaconf"  # replace the filename of course

Convert to profiles with stored passwords (you will be asked for MobaXterm master password and Remmina's secret which is located in ~/.config/remmina/remmina.pref "secret field"):

python.exe .\mobaxterm2remmina.py ".\MobaXterm configuration (2022-06-05 04.15.06).mobaconf" --with-passwords  # replace the filename of course

Apply color theme while converting (see available themes at /usr/share/remmina/theme directory)

python.exe .\mobaxterm2remmina.py ".\MobaXterm configuration (2022-06-05 04.15.06).mobaconf" --with-passwords --theme "Brogrammer"  # replace the filename of course

The profiles will be exported to ./exported locally, so you have to copy all these exported remmina files to your Linux host in ~/local/share/remmina directory.

NOTE: Stored passwords (DES3 encrypted and base64 encoded) will be removed from the .remmina files upon Remmina initialization and will be transfered to host's integrated keyring.

The tool will preserve the group hierarchy of MobaXterm on Remmina, so your sessions will be organized as they were.

Compatibility

This tool is currently compatible with SSH and RDP only.

VNC and HTTP/S compatibility isn't implemented yet. SSH jump hosts or gateways cannot be exported to Remmina as well as the private keys for the authentication.

LICENSE

mobaxterm_to_remmina is available under the MIT license. See the LICENSE file for more info.

mobaxterm_to_remmina's People

Contributors

aruone avatar sroussis avatar xtonousou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aruone kavalun

mobaxterm_to_remmina's Issues

AttributeError: 'Converter' object has no attribute 'theme'

Hello!
When I tried to run the script without any additional argument I got this error:

Traceback (most recent call last):
  File "/home/aru/./mobaxterm2remmina.py", line 503, in <module>
    Converter().to_remmina()
  File "/home/aru/./mobaxterm2remmina.py", line 485, in to_remmina
    theme=self.theme)
AttributeError: 'Converter' object has no attribute 'theme'

I kinda fixed it myself by adding self.theme = self.theme_def under self.theme_def = 'Linux' inside init self function of Converter class. It worked flawlessly after.
Thank you for putting your time into this script, it will definitely save a lot of time for a lot of people.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.