UBUNTU-SCP command

Source: Internet
Author: User
Tags sin scp command

First, copy the native files to the remote server
#scp/home/administrator/news.txt [email protected]:/etc/squid
/home/administrator/absolute path to local files
News.txt The local file to be copied to the server
Root logs on to the remote server through the root user (you can also use other users with equal privileges)
192.168.6.129 the IP address of the remote server (you can also use a domain name or machine name)
/etc/squid copying local files to a path located on a remote server
Log in to the remote server by root and enter Yes to agree to an SSH connection
Enter the root user's password as prompted
Start transferring files after establishing a connection, showing percentages, actual time, and delivery speed information

Second, copy the files on the remote server to the native
#scp [email protected]:/usr/local/sin.sh/home/administrator
Remote logs on to the server remotely via a long-distance user (other users with equivalent privileges can also be used)
www.abc.com the domain name of the remote server (you can also use the server IP address)
/usr/local/sin.sh files that are located on a remote server to be copied to this computer
/home/administrator to copy remote files to the local absolute path

UBUNTU-SCP command

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.