About Linux frontend to backend

Source: Internet
Author: User

In the past two days, files need to be uploaded to two Linux instances, and SCP is used.

I found that I had to open the shell all the time, or I stopped it.

Uploading a large file is exhausted and the network cannot be disconnected.

So I found the method to switch the program running on the front-end to the back-end.


First

Http://www.cnblogs.com/xd502djj/archive/2009/06/25/1510966.html


You need to use SSH-keygen to create a trust certificate between two machines

Oh, it's too troublesome to discard it.


I found a method.


Http://trace.javaeye.com/blog/255726

Stop the process first and then use BG to transfer the process to the background


It seems like this is simple ~~~

 

Of course, you can also use the screen command to avoid program shutdown due to SSH shutdown.


But try again? I found myself a dumb. In fact, I only need to press Ctrl + Z and then BG and press Enter. = _ = |


Record this article for later users to check. Don't worry about the problem of a shortcut key just like me.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.