-SCP(1) OpenBSD Reference Manual SCP(1)
+SCP(1) General Commands Manual SCP(1)
NAME
- scp - secure copy (remote file copy program)
+ scp M-bM-^@M-^S secure copy (remote file copy program)
SYNOPSIS
scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
DESCRIPTION
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). Unlike rcp(1), scp will ask for passwords or passphrases if
- they are needed for authentication.
+ as ssh(1). scp will ask for passwords or passphrases if they are needed
+ for authentication.
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
+ names containing M-bM-^@M-^X:M-bM-^@M-^Y as host specifiers. Copies between two remote hosts
are also permitted.
The options are as follows:
AddressFamily
BatchMode
BindAddress
+ CanonicalDomains
+ CanonicalizeFallbackLocal
+ CanonicalizeHostname
+ CanonicalizeMaxDots
+ CanonicalizePermittedCNAMEs
ChallengeResponseAuthentication
CheckHostIP
Cipher
ConnectTimeout
ControlMaster
ControlPath
+ ControlPersist
GlobalKnownHostsFile
GSSAPIAuthentication
GSSAPIDelegateCredentials
HashKnownHosts
Host
HostbasedAuthentication
+ HostbasedKeyTypes
HostKeyAlgorithms
HostKeyAlias
HostName
IdentityFile
IdentitiesOnly
IPQoS
+ KbdInteractiveAuthentication
KbdInteractiveDevices
KexAlgorithms
LogLevel
PreferredAuthentications
Protocol
ProxyCommand
+ PubkeyAcceptedKeyTypes
PubkeyAuthentication
RekeyLimit
RhostsRSAAuthentication
ServerAliveCountMax
StrictHostKeyChecking
TCPKeepAlive
+ UpdateHostKeys
UsePrivilegedPort
User
UserKnownHostsFile
-P port
Specifies the port to connect to on the remote host. Note that
- this option is written with a capital `P', because -p is already
- reserved for preserving the times and modes of the file in
- rcp(1).
+ this option is written with a capital M-bM-^@M-^XPM-bM-^@M-^Y, because -p is already
+ reserved for preserving the times and modes of the file.
-p Preserves modification times, access times, and modes from the
original file.
authentication, and configuration problems.
EXIT STATUS
- The scp utility exits 0 on success, and >0 if an error occurs.
+ The scp utility exitsM-BM- 0 on success, andM-BM- >0 if an error occurs.
SEE ALSO
- rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1),
- ssh_config(5), sshd(8)
+ sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), ssh_config(5),
+ sshd(8)
HISTORY
- scp is based on the rcp(1) program in BSD source code from the Regents of
+ scp is based on the rcp program in BSD source code from the Regents of
the University of California.
AUTHORS
Timo Rinne <tri@iki.fi>
Tatu Ylonen <ylo@cs.hut.fi>
-OpenBSD 5.0 December 9, 2010 OpenBSD 5.0
+OpenBSD 5.8 July 10, 2015 OpenBSD 5.8