Scp-v viewing the specific process

Source: Internet
Author: User

A few days ago with colleagues discussed SCP multiple files and SCP multiple folders of the compressed package that fast.
The boss said, the compression package is fast, the compression packet transmission can avoid each file reconstruction connection, but the file system traversal, the directory creation, the inspection will have some overhead.
He suggested that I scp-v look at the specific transmission process.

The first time I heard that there is a-v this parameter, the test is as follows:

?  cbcq git:(master) ? scp -v Test.py local_server:/data/Executing: program /usr/bin/ssh host local_server, user (unspecified), command scp -v -t /data/OpenSSH_7.5p1 Ubuntu-10ubuntu0.1, OpenSSL 1.0.2g  1 Mar 2016debug1: Reading configuration data /home/cbb/.ssh/configdebug1: /home/cbb/.ssh/config line 2: Applying options for *debug1: /home/cbb/.ssh/config line 110: Applying options for local_serverdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 19: Applying options for *debug1: auto-mux: Trying existing masterdebug1: mux_client_request_session: master session id: 2Sending file modes: C0644 1101 Test.pySink: C0644 1101 Test.pyscp: /data//Test.py: Permission denied

This clearly shows the process of SCP transmission, reads local alias configuration, attempts to connect, insufficient connection permissions, and is denied.

Scp-v viewing the specific process

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.