⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scp.1

📁 OpenSSH 是 SSH (Secure SHell) 协议的免费开源实现。它用安全、加密的网络连接工具代替了 telnet、ftp、 rlogin、rsh 和 rcp 工具。OpenSSH 支持
💻 1
字号:
.\"  -*- nroff -*-.\".\" scp.1.\".\" Author: Tatu Ylonen <ylo@cs.hut.fi>.\".\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland.\"                    All rights reserved.\".\" Created: Sun May  7 00:14:37 1995 ylo.\".\" $OpenBSD: scp.1,v 1.38 2005/03/01 17:19:35 jmc Exp $.\".Dd September 25, 1999.Dt SCP 1.Os.Sh NAME.Nm scp.Nd secure copy (remote file copy program).Sh SYNOPSIS.Nm scp.Bk -words.Op Fl 1246BCpqrv.Op Fl c Ar cipher.Op Fl F Ar ssh_config.Op Fl i Ar identity_file.Op Fl l Ar limit.Op Fl o Ar ssh_option.Op Fl P Ar port.Op Fl S Ar program.Sm off.Oo.Op Ar user No @.Ar host1 No :.Oc Ns Ar file1.Sm on.Op Ar ....Sm off.Oo.Op Ar user No @.Ar host2 No :.Oc Ar file2.Sm on.Ek.Sh DESCRIPTION.Nmcopies files between hosts on a network.It uses.Xr ssh 1for data transfer, and uses the same authentication and provides thesame security as.Xr ssh 1 .Unlike.Xr rcp 1 ,.Nmwill ask for passwords or passphrases if they are needed forauthentication..PpAny file name may contain a host and user specification to indicatethat the file is to be copied to/from that host.Copies between two remote hosts are permitted..PpThe options are as follows:.Bl -tag -width Ds.It Fl 1Forces.Nmto use protocol 1..It Fl 2Forces.Nmto use protocol 2..It Fl 4Forces.Nmto use IPv4 addresses only..It Fl 6Forces.Nmto use IPv6 addresses only..It Fl BSelects batch mode (prevents asking for passwords or passphrases)..It Fl CCompression enable.Passes the.Fl Cflag to.Xr ssh 1to enable compression..It Fl c Ar cipherSelects the cipher to use for encrypting the data transfer.This option is directly passed to.Xr ssh 1 ..It Fl F Ar ssh_configSpecifies an alternativeper-user configuration file for.Nm ssh .This option is directly passed to.Xr ssh 1 ..It Fl i Ar identity_fileSelects the file from which the identity (private key) for RSAauthentication is read.This option is directly passed to.Xr ssh 1 ..It Fl l Ar limitLimits the used bandwidth, specified in Kbit/s..It Fl o Ar ssh_optionCan be used to pass options to.Nm sshin the format used in.Xr ssh_config 5 .This is useful for specifying optionsfor which there is no separate.Nm scpcommand-line flag.For full details of the options listed below, and their possible values, see.Xr ssh_config 5 ..Pp.Bl -tag -width Ds -offset indent -compact.It AddressFamily.It BatchMode.It BindAddress.It ChallengeResponseAuthentication.It CheckHostIP.It Cipher.It Ciphers.It Compression.It CompressionLevel.It ConnectionAttempts.It ConnectTimeout.It ControlMaster.It ControlPath.It GlobalKnownHostsFile.It GSSAPIAuthentication.It GSSAPIDelegateCredentials.It HashKnownHosts.It Host.It HostbasedAuthentication.It HostKeyAlgorithms.It HostKeyAlias.It HostName.It IdentityFile.It IdentitiesOnly.It KbdInteractiveDevices.It LogLevel.It MACs.It NoHostAuthenticationForLocalhost.It NumberOfPasswordPrompts.It PasswordAuthentication.It Port.It PreferredAuthentications.It Protocol.It ProxyCommand.It PubkeyAuthentication.It RhostsRSAAuthentication.It RSAAuthentication.It SendEnv.It ServerAliveInterval.It ServerAliveCountMax.It SmartcardDevice.It StrictHostKeyChecking.It TCPKeepAlive.It UsePrivilegedPort.It User.It UserKnownHostsFile.It VerifyHostKeyDNS.El.It Fl P Ar portSpecifies the port to connect to on the remote host.Note that this option is written with a capital.Sq P ,because.Fl pis already reserved for preserving the times and modes of the file in.Xr rcp 1 ..It Fl pPreserves modification times, access times, and modes from theoriginal file..It Fl qDisables the progress meter..It Fl rRecursively copy entire directories..It Fl S Ar programName of.Ar programto use for the encrypted connection.The program must understand.Xr ssh 1options..It Fl vVerbose mode.Causes.Nmand.Xr ssh 1to print debugging messages about their progress.This is helpful indebugging connection, authentication, and configuration problems..El.Sh DIAGNOSTICS.Nmexits with 0 on success or >0 if an error occurred..Sh SEE ALSO.Xr rcp 1 ,.Xr sftp 1 ,.Xr ssh 1 ,.Xr ssh-add 1 ,.Xr ssh-agent 1 ,.Xr ssh-keygen 1 ,.Xr ssh_config 5 ,.Xr sshd 8.Sh HISTORY.Nmis based on the.Xr rcp 1program in BSD source code from the Regents of the University ofCalifornia..Sh AUTHORS.An Timo Rinne Aq tri@iki.fi.An Tatu Ylonen Aq ylo@cs.hut.fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -