MobaXterm software wget command use and automatic disconnection problem solving

background:

MobaXterm is a software for remote connection to the server - an all-round terminal artifact :

Advantages of this artifact:

  1. The function is very powerful, supporting SSH, FTP, serial port, VNC, X server and other functions;
  2. Support tags, switching is also very convenient;
  3. Many shortcut keys, easy to operate;
  4. There are a wealth of plug-ins that can further enhance functionality.

The author often disconnected when using it on the windows side. I didn't pay much attention to it at the time. I thought it could reduce resource consumption. In addition, the software itself is English software, so I didn't pay much attention to it;

But until today, I want to upload a data set of more than 100 G, and I don’t want to download it to the local machine, so I use the wget command to download directly from the corresponding website, but because it has been disconnected (yes, even if the wget command is not over!), I have been tossing one afternoon;

Fortunately, use continue to continue downloading:

wget breakpoint resume upload

wget --continue https(你的下载网址)

Get the download link

For those that do not directly provide download links, you can obtain links through the downloads that come with the browser:
insert image description here
but this will also cause two problems:

  • Unable to determine the current download progress, only by observing the size of the downloaded data to determine whether the download is complete
  • The data downloaded by wget will not only appear in the directory to be downloaded after cd, but also in the root directory, making it impossible to judge which is the data downloaded by wget -continue
    insert image description here
    insert image description here

Automatic disconnection solution:

Method 1: Extend the time of a single connection

insert image description here
But at this time MobaXterm will prompt us:
insert image description here
That is to say, we are using the personal version now, and the running time is limited, so use the second method

Method 2: Keep SSH connected by setting

insert image description here
success~

Guess you like

Origin blog.csdn.net/weixin_48936263/article/details/124183853