Mobaxterm Enter License Key

1,384 views
Skip to first unread message

Lucrecio Poinson

unread,
Aug 5, 2024, 1:13:21 AM8/5/24
to lesfitzgingkouts
Im sshing into the ubuntu system, if that matters. This happens to me both in zsh and bash. One solution I played with is remapping the ^M to ^J in zsh, but that seems like it wouldn't fix the root problem. Anyone know what might be causing this?

In case anybody else has this problem, it is most likely a problem with the stty terminal line setting rather than a TERM problem. If this happens to you again, try running stty sane and let us know if that fixes it.


Try running stty -a to view your terminal settings. My suspicion is that your icrnl setting is not set and will be shown as -icrnl (the minus sign means that it is turned off) instead of having its usual setting of being on. Here is how my terminal is normally set up when I log in:


And I have no problem with line endings: either return (^M) or enter (^J) will end input lines. But if I turn icrnl off then ^M codes suddenly appear each time I am talking to a program and hit enter:


when I open mobaxterm --> create a new ssh connection --> enter the hostname (jump host in my case) and username --> and when I try to connect to this session, it works fine and then I need to manually ssh to customer servers after I get connected to jump host.


when I open mobaxterm --> create a new ssh connection --> enter the customer hostname --> under Network setting --> I enable "Connect through SSH gateway (jump host) and enter jump server hostname and username --> save the session.When I try to connect to this session, it gives error as "Remote side unexpectedly closed network connection".


I had this problem too. In the configuration for "Basic SSH settings" for 'Remote Host' I initially had username@remote_host.com and did not specify a username in the 'Specify username' field.To fix this issue I changed the configuration so that the 'Remote host' field had only the remote_host.com server name with no @ sign, and I checked 'Specify username' and gave my username there. Now the jump host worked well!


I can login into the machine using ssh and start the program without a problem. That program needs files that I have on my windows computer to process though and I want to copy them over to that remote machine. Unfortunately the drag-and-drop file transfer panel that is mentioned regularly on mobaxterm help sites isn't present and I can't figure out how to make it appear.


Another cause for the lack of sftp panel is if you accidentally enter and store a bad sftp password. MobaXterm then appears to attempt an automatic log in, but silently fails to open the sftp connection.


To be clear, I had already run through the settings mentioned by @Nicolas and @Didier (thanks, guys!). I was able to get the sftp tab when ssh'ing in to other hosts (which didn't have bad passwords stored). And I had in the past seen the sftp pane. This fix solved my problem.


Note: I read this hint in a comment, which saved me from a tidious process of unnecessary fixing mobaXterm, also I am hence not the only one with that behavior. Even though this might be the first thing you already tried, some might not have been trying and haven't been lucky enough to read through the comments - this is for them.


You can use MobaXterm to connect from your local Windows system to NAS systems via SSH, as an alternative to Cygwin/OpenSSH. MobaXterm includes a built-in X11 client, and has the ability to forward X11 from NAS systems back to your local system. You can also use it to create VNC sessions.


MobaXterm Home Edition is available for free, and should be sufficient for most users. If you have admin privileges on your local system, you can install a full version (Installer Edition) with Start menu support. If a full software installation is not possible, you can use the standalone version (Portable Edition).


Note: After you change your NAS password, you might have to remove your old password stored in MobaXterm before you can enter the new password when prompted. To remove your old NAS password, go to the the MobaXterm Settings dropdown menu and select Configuration; then select MobaXterm passwords management; then select the password that was changed, and click Delete.


Click OK to start the login process.

Note: From now on, the session will be displayed in the Recently used section when you start MobaXterm, and you can start the login process by double-clicking it there.


Once Tunnel 1 is started, then start Tunnel 2. Both will prompt for the RSA SecurID passcode and your NAS password, as MobaXterm doesn't allow for SSH keys when tunneling.


RSA keys allow users to SSH into a system without having to enter a password. Instead, a locally stored key file is authenticated using the RSA cryptosystem (read more here). This practically allows users to write automated scripts utilizing SSH login without having to compromise password security.


The absolute path in the parentheses is the default location where the file will be saved if no filename is provided. If you provide a plain filename without an absolute path, it will save the key pair in the directory where you are running the keygen program, or whatever relative path you provide. We recommend putting your key in the .ssh folder in your home directory.


This will place the public key in the authorized_keys file in your .ssh directory. If the ssh-copy-id command is not available on your system, you can use the following command to upload your public key to SeaWulf:


Note: If you click to connect to a recent session of Seawulf on MobaXterm, and that session wasn't configured to use your private key, it will ask for your password. Make sure you click on the most recent session for passwordless ssh or Start a new session, checking the "using your private key" box in order for passwordless SSH to work properly.


Mobaxterm is a Windows application that provides an ssh client, scpclient and X11 server all in one program. It is a very convenient toolfor accessing the JHPCE cluster and utilizing the many features of thecluster. There is some configuration that needs to be done though inorder to effectively use Mobaxterm in the JHPCE environment. This FAQwill take you through the steps needed to configure Mobaxterm. Beforeyour proceed you should have your Google Authenticator app available.


Once you enter your password correctly, you will see a number ofboxes pop up (usually 3) prompting for another Verification Code. Click"Cancel on these boxes. You will then be prompted to save yourpassword. In the lower left, check the box that says "Do not ask thisagain" and then click "No". (We will get rid of these annoying boxes ina couple of steps).


After you exit out of the JHPCE cluster, a "jhpce03" session will besaved as a "Saved Sessions". To login again, double-click on thejhpce03 "Saved Session", and you should then be prompted for"Verification Code" (which will come from Google Authenticator) and"Password:"


To make logging in more streamlined and avoid the pop-up windows whenyou login, you can create an SSH key pair in MobaXterm. Beforestarting you should login to the JHPCE cluster in MobaXterm using yourGoogle Authenticator and Password. Once you are logged in:


For security purposes, we strongly recommend you protect your key witha password. To do so, enter a password in the "Key passphrase" and"Confirm passphrase" boxes. Next, click "Save private key", and savethe key to a know locationon your local laptop/desktop (such as you"Documents directory).


Now, at the top of the window you'll see the text version of your publickey. Copy the contents of this output with your mouse, making sure toscroll all the way to the bottom of the text box. NOTE: to doCopy/Paste in MobaXterm, you should not use \-C and \-V.Instead, select the text you want to copy, then use the right mousebutton to bring up the context menu, and select Copy or select Pastewhen you are pasting.


Now, go back to the tab where your JHPCE ssh session is running.From your home directory, cd into the .ssh directory. In thisdirectory, you will need to update the file authorized_keys. Editthis file with your text editor of choice (nano, vi, emacs) as shownbelow. If the file does not exist, you can also create the file withthe command below.


Paste in the public key that you copied from your local session.Depending on your editor, the new key may only show up on one longline, or it may wrap to multiple lines. Save the "authorized_keys"file when you are done.


If you assigned a passphrase to your key (and you really should have)we need to make a couple of extra steps to allow the passphrase to beentered only once, instead of every time you start a new loginsession.


The final step will be to add your key to the JHPCE session in theMobaXerm application. On the left pane of MobaXterm, you should see alist of "Saved sessions", including a session for the "jhpce03" loginnode. Right-Click on the "jhpce03" session, and select "Edit Session".This will open a window that looks like:


When you purchase MobaXterm Pro Edition, you get access to a registered copy of MobaXterm and another program called Customizer.Using MobaXterm Customizer, you will be able to generate customized copies of MobaXterm with your own logo and your default settings. Settings specified in the Customizer will be hard-coded within the generated executable itself.


In order to perform this operation, just launch MobaXterm_Professional_X.X.exe

After having entered your license key, you can select to customize your MobaXterm package.Then, you will have the following graphical interface:


In this step, you will have access to the default profile used at MobaXterm startup. This profile is the equivalent of the /etc/profile file on Linux operating system. If you are not familiar with profile principles, please keep the default profile and select Next.


In this step, you will have a list of the different MobaXterm features. The customizer allows you to enable or disable these features.The settings allow you to remove games, screensaver or even disable insecure protocols such as RSH, Rlogin or Telnet.All these parameters will become the default settings of the generated MobaXterm application.

3a8082e126
Reply all
Reply to author
Forward
0 new messages