Scp

From wikieduonline
Revision as of 08:51, 5 May 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search

wikipedia:Secure copy (scp) is a means of securely transferring computer files between a local host and a remote host or between two remote hosts. scp implements a progress bar to estimate transfers.


scp USERNAME@SERVER:/tmp/FILE ./
USERNAME@SERVER's password:
Could not chdir to home directory /home/USERNAME: No such file or directory
protocol error: mtime.sec not present


Activities

  1. Understand the differences between cp, scp and rsync: https://stackoverflow.com/questions/20244585/how-does-scp-differ-from-rsync
  2. Review security advisories related to scp: CVE-2019-6111[1] related to scp tool and protocol allowing to overwrite arbitrary files in the scp client target directory
  1. pv </dev/zero | ssh REMOTE_SERVER 'cat >/dev/null'


Related commands

See also

  • https://nvd.nist.gov/vuln/detail/CVE-2019-6111
  • Advertising: