Difference between revisions of "Scp"
Jump to navigation
Jump to search
↑ "OpenSSH 8.0". OpenSSH Release Notes. 17 April 2019.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
↑ https://nvd.nist.gov/vuln/detail/CVE-2019-6111
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 10: | Line 10: | ||
− | According to [[OpenSSH]] developers in April 2019 the scp protocol is outdated, inflexible and not readily fixed; they recommend the use of more modern protocols like <code>[[Secure file transfer program|sftp]]</code> and <code>[[rsync]] for file transfer.<ref>{{cite web|url=https://www.openssh.com/txt/release-8.0|title=OpenSSH 8.0|work=OpenSSH Release Notes|date=17 April 2019}}</ref> | + | According to [[OpenSSH]] developers in April 2019 the scp protocol is outdated, inflexible and not readily fixed; they recommend the use of more modern protocols like <code>[[Secure file transfer program|sftp]]</code> and <code>[[rsync]]</code> for file transfer.<ref>{{cite web|url=https://www.openssh.com/txt/release-8.0|title=OpenSSH 8.0|work=OpenSSH Release Notes|date=17 April 2019}}</ref> |
Revision as of 16:46, 27 May 2020
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.
http://man7.org/linux/man-pages/man1/scp.1.html
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
According to OpenSSH developers in April 2019 the scp protocol is outdated, inflexible and not readily fixed; they recommend the use of more modern protocols like sftp
and rsync
for file transfer.[1]
Activities
- Understand the differences between
cp, scp
andrsync
: https://stackoverflow.com/questions/20244585/how-does-scp-differ-from-rsync - Review security advisories related to
scp
: CVE-2019-6111[2] related toscp
tool and protocol allowing to overwrite arbitrary files in the scp client target directory
pv </dev/zero | ssh REMOTE_SERVER 'cat >/dev/null'
Related commands
See also
sftp
,sftp chroot configuration
, Filezilla, Core FTP,sshfs
,internal-sftp
,sshd_config
, SFTP protocol, Secure file transfer program (sftp)cp
,dd
,sftp
,scp
,rsync
,casync
,mv
,fio
,ln
,docker cp, kubectl cp
,minikube cp
,multipass transfer
,Copy-Item
,Xcopy
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: