scp
NAME
SYNOPSIS
k -words
DESCRIPTION
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)
Unlike
rcp(1)
will ask for passwords or passphrases if they are needed for
authentication.
Any file name may contain a host and user specification to indicate
that the file is to be copied to/from that host.
Copies between two remote hosts are permitted.
The options are as follows:
- 1 Forces to use protocol 1.
- 2 Forces to use protocol 2.
- 4 Forces to use IPv4 addresses only.
- 6 Forces to use IPv6 addresses only.
- B Selects batch mode (prevents asking for passwords or passphrases).
- C Compression enable. Passes the flag to ssh(1) to enable compression.
- cipher Selects the cipher to use for encrypting the data transfer. This option is directly passed to ssh(1)
- ssh_config Specifies an alternative per-user configuration file for This option is directly passed to ssh(1)
- identity_file Selects the file from which the identity (private key) for RSA authentication is read. This option is directly passed to ssh(1)
- limit Limits the used bandwidth, specified in Kbit/s.
- ssh_option Can be used to pass options to in the format used in ssh_config(5) This is useful for specifying options for which there is no separate command-line flag. For full details of the options listed below, and their possible values, see ssh_config(5)
- AddressFamily
- BatchMode
- BindAddress
- ChallengeResponseAuthentication
- CheckHostIP
- Cipher
- Ciphers
- Compression
- CompressionLevel
- ConnectionAttempts
- ConnectTimeout
- ControlMaster
- ControlPath
- GlobalKnownHostsFile
- GSSAPIAuthentication
- GSSAPIDelegateCredentials
- HashKnownHosts
- Host
- HostbasedAuthentication
- HostKeyAlgorithms
- HostKeyAlias
- HostName
- IdentityFile
- IdentitiesOnly
- KbdInteractiveDevices
- LogLevel
- MACs
- NoHostAuthenticationForLocalhost
- NumberOfPasswordPrompts
- PasswordAuthentication
- Port
- PreferredAuthentications
- Protocol
- ProxyCommand
- PubkeyAuthentication
- RekeyLimit
- RhostsRSAAuthentication
- RSAAuthentication
- SendEnv
- ServerAliveInterval
- ServerAliveCountMax
- SmartcardDevice
- StrictHostKeyChecking
- TCPKeepAlive
- UsePrivilegedPort
- User
- UserKnownHostsFile
- VerifyHostKeyDNS
SEE ALSO
HISTORY
is based on the
rcp(1)
program in BSD source code from the Regents of the University of
California.
