scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as ssh(1). scp will ask for passwords or passphrases if they are needed for authentication.(scp在网络上复制主机间的文件。它使用SSH1进行数据传输,并且使用相同的身份验证,并提供与SSH1相同的安全。)
File names may contain a user and host specification to indicate that the file is to be copied to/from that host. Local file names can be made explicit using absolute or relative pathnames to avoid scp treating file names containing ‘:’ as host specifiers. Copies between two remote hosts are also permitted.(文件名可能包含用户和主机规范,以指示要将文件拷贝到远端主机,或者从远端主机下载。本地文件名可以使用绝对路劲名或相对路径名显式显示,以避免scp将包含“:”的文件名作为主机制定程序处理。两个远程主机之间的拷贝也是允许的。)