SCP(1) | General Commands Manual | SCP(1) |
scp
—
安全复制(远程文件复制程序)
scp
[-pqrvBC1246
]
[-F
ssh_config]
[-S
program]
[-P
port]
[-c
cipher]
[-i
identity_file]
[-l
limit]
[-o
ssh_option]
[[user@]host1:]file1
[...]
[[user@]host2:]file2
scp
在网络中的主机间进行文件复制。
它用 ssh(1)
来传输及验证数据,提供与
ssh(1)
相同的安全保护。
它不象 rcp(1),
scp
会根据需要询问口令。
在任何文件名中都可以包含主机名和用户名,用来指定从/向该主机复制此文件。 Copies between two remote hosts are permitted.
The options are as follows:
-c
cipher-i
identity_file-l
limit-p
-r
-v
scp
和 ssh(1)
打印出关于运行情况的调试信息。在进行调试连接、验证和配置问题时,这会很有用的-B
-q
-C
-C
标志以允许压缩。-F
ssh_configssh
. This option is directly passed to
ssh(1).-P
port-p
is already reserved for preserving the times
and modes of the file in rcp(1).-S
program-o
ssh_optionssh
in the format
used in ssh_config(5). This is useful for specifying
options for which there is no separate scp
command-line flag.-1
scp
to use protocol 1.-2
scp
to use protocol 2.-4
scp
to use IPv4 addresses only.-6
scp
to use IPv6 addresses only.scp
exits with 0 on success or >0 if an
error occurred.
Timo Rinne <tri@iki.fi> 和 Tatu Ylonen <ylo@cs.hut.fi>
scp
基于University of
California BSD 的 rcp(1)
源代码
rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), ssh_config(5), sshd(8)
meaculpa <meaculpa@21cn.com>
2000/12/08
http://cmpp.linuxforum.net
本页面中文版由中文
man 手册页计划提供。
中文 man
手册页计划:https://github.com/man-pages-zh/manpages-zh
September 25, 1999 | Debian |