The most powerful embedded debugging terminal artifact—MobaXterm

Abstract : There are many terminal tools in the software market today, such as secureCRT, Putty and so on. secureCRT is actually a very powerful terminal tool, but it is a paid software, which is not allowed by general companies. Putty, very small, free software, but does not support tags, if you open multiple sessions, you need to open multiple windows, and it is inconvenient to switch between windows. The interface of both software is not very beautiful.

Today we are introducing an all-in-one all-in-one terminal artifact - MobaXterm! Advantages of this artifact:

  1. Support SSH, FTP, serial port, VNC, X server and other functions;
  2. Support labels, switching is also very convenient;
  3. Many shortcut keys, easy to operate;
  4. There are a wealth of plugins that can be installed for free;
  5. Direct portable version, no installation required.
  6. Built-in multi-tab and multi-terminal split screen

MobaXterm software download

MobaXterm has a free version and a paid version. For ordinary developers, the free version is enough. The paid version supports many customized functions, which can only be used by professionals.

Choose the free version

Choose the free version

It is also very convenient to use the installation-free version. You can copy it on the U disk, and you can use it on different computers without losing the settings. If you have a company at home, all configurations are the same.

After the download or installation is complete, open it, the interface is as follows:

Click Sessionto create a different session:

Here are a few commonly used protocols:

  • SSH : Secure Shell, a more reliable protocol designed to provide security for remote login sessions and other network services. Using the SSH protocol can effectively prevent information leakage during remote management. Most commonly we can use it to log into our Linux server .

  • RDP : Remote Desktop Protocol (RDP) is a multi-channel (multi-channel) protocol that can be connected to computers that provide Microsoft Terminal Services.

  • FTP : File Transfer Protocol (File Transfer Protocol) is a standard protocol for file transfer on the network, which can exchange files on windows and liunx devices .

  • Serial : Needless to say about the serial port, you can print the debugging information of the serial port device.

SSH login to the Linux host

Click Session, select in the pop-up dialog box, SSHand then fill in the IP address, user name, and port number of the remote host, and then click OK.

If there is an Ubuntu virtual machine on your computer, then the IP address of the remote host here is the IP address of your ubuntu, the username is the username of the ubuntu host, and the port number defaults to 22.

Click OK to enter the ubuntuhost

You can see that the left side is the folder of the ubuntu host, and the right side is the terminal window. You can enter linuxcommands in it.

Of course, uploading files and downloading files is also very convenient, and direct dragging or right-clicking is also supported.

RDP remote login windows host

Click Session, select RDP in the pop-up dialog box, and then fill in the IP address, user name, and port number of the remote host, and then click OK.

If there is a windows virtual machine on your computer, then the IP address of the remote host here is the IP address of windows under your virtual machine, the username is the username of the windows host, and the port number defaults to 3389.

Click OK to enter the windowsvirtual machine.

You can perform various operations, isn't it very convenient.

FTP realizes mutual file transfer between Linux and Windows

When learning linux, you will frequently transfer files under Windows and Ubuntu, such as writing code under Windwos, and then compiling the written code under Ubuntu. To transfer files between Windows and Ubuntu, you need to use FTP service. First, you need to open the FTP service under Ubuntu, and then install the FTP client on Windows. Most of them use FileZilla, a free FTP client software, which is very easy to use. , but our MobaXterm also supports this function.

This is the FileZilla software interface

MobaXterm has integrated this FTP into it, now use MobaXterm to create a new FTP connection.

Click Session, select FTP in the pop-up dialog box, and then fill in the IP address, user name, and port number of the ubuntu host, and then click OK. The IP address of the remote host here is the IP address of ubuntu under your virtual machine, the username is the username of the ubuntu host, and the port number defaults to 21.

After clicking OK, you can transfer files to each other. And FileZillathe operation is exactly the same, and the speed is very fast.

Serial as debug terminal

It can be used MobaXtermas a serial terminal. Of course, you can also use the serial debugging assistant to print debugging information, but it cannot be used as a terminal, that is, you cannot enter commands. The terminal software is different from the serial debugging assistant. The terminal software has more powerful functions. When using tools such as the serial debugging assistant when learning linux, it will appear that the command cannot be input and cannot be logged in.

Click Sessionand select in the pop-up dialog box. SerialAfter opening the serial port setting window, first select the serial port number to be set. First, use the serial cable to connect the development board to the computer, and then set the baud rate. MobaXterm software can automatically identify the serial port, so We can directly drop down the selection, and the baud rate is also set in the same way. After finishing other functions of the serial port should be set. Click Advanced Serial settingsthe tab to set other functions of the serial port, such as serial port number, data bit, stop bit, parity check and hardware flow control, etc. If you want to set terminal-related functions, click it Terminal settings, such as terminal font and font size. After the setting is complete, click the OKbutton below.

For example, when we are programming , press the Enter key U-bootin the countdown seconds to enter the corresponding command and print out the corresponding information.3u-boot

5. Several useful settings

Hide menu bar buttons

The row of buttons under the menu bar feels a bit tasteless. All of them can be found in the menu bar. Click on the menu bar view -> show menu barto hide this row of buttons. Removing it can save a lot of space.

Open right-click paste

The right-click paste function in Mobaxterm does not open the text function by default. Can be opened manually. Click on the menu bar settings -> Configuration, select in the pop-up dialog box, terminaland then paste using right-clicktick it.

Turn off automatic popup SFTP

After Moba is connected to the remote computer, it will automatically open the SFTP sidebar on the left. Sometimes we don't need SFTP, so we can turn off the automatic pop-up SFTP function. settingsClick > in the menu bar Configuration, select in the pop-up dialog box, SSHand then automaticall switch to SSH-browser tab after loginremove the check mark in front of it.

MobaXterm Chinese garbled

MobaXterm is UTF-8 by default. If garbled characters appear, you can perform the following operations: Click on the corresponding terminal Teminal settings -> Term charset.

summary

This article describes four connection methods: SSH, RDP, FTP, Serial, and four useful settings. Of course, the functions of Mobaxterm are far more than these, but these four connection methods are the most basic and most commonly used, and you need to explore them slowly in use!

Guess you like

Origin blog.csdn.net/qq_39400113/article/details/122268459