File transfer between Linux servers 1. transfer files from server A to server B 1.1 Normal file transfer, do not need to connect to server B through proxy service, log on to server A, and execute scptest. sqluser @ server-B: path description: The file test. SQL is transmitted to server B (user is a service...
File transfer between Linux servers 1. transfer files from server A to server B 1.1 Normal file transfer, do not need to connect to server B through proxy service, log on to server A, execute scp test. SQL user @ server-B: path description: The file test. SQL transmission to server B (user is the user name of server B, server-B is the IP address of server B, path is the path of the specified receiving file on server B ), enter the user password www.2cto.com 1.2 and access server B through the proxy. run scp-oProxyCommand = 'NC-v-xproxy: port % h % p' test. SQL user @ server-B: path description: proxy is the IP address of the proxy server, port is the port of the proxy server, and enter the user password by pressing enter. In addition, you can also use the sftp command, format: sftp-oProxyCommand = 'NC-v-xproxy: port % h % p' user @ server-B port description: The Last port is the port of server B.
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