summaryrefslogtreecommitdiff
path: root/scp.0
diff options
context:
space:
mode:
Diffstat (limited to 'scp.0')
-rw-r--r--scp.017
1 files changed, 8 insertions, 9 deletions
diff --git a/scp.0 b/scp.0
index b9eeffc4e..0495f2555 100644
--- a/scp.0
+++ b/scp.0
@@ -1,4 +1,4 @@
1SCP(1) OpenBSD Reference Manual SCP(1) 1SCP(1) General Commands Manual SCP(1)
2 2
3NAME 3NAME
4 scp - secure copy (remote file copy program) 4 scp - secure copy (remote file copy program)
@@ -11,8 +11,8 @@ SYNOPSIS
11DESCRIPTION 11DESCRIPTION
12 scp copies files between hosts on a network. It uses ssh(1) for data 12 scp copies files between hosts on a network. It uses ssh(1) for data
13 transfer, and uses the same authentication and provides the same security 13 transfer, and uses the same authentication and provides the same security
14 as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if 14 as ssh(1). scp will ask for passwords or passphrases if they are needed
15 they are needed for authentication. 15 for authentication.
16 16
17 File names may contain a user and host specification to indicate that the 17 File names may contain a user and host specification to indicate that the
18 file is to be copied to/from that host. Local file names can be made 18 file is to be copied to/from that host. Local file names can be made
@@ -125,8 +125,7 @@ DESCRIPTION
125 -P port 125 -P port
126 Specifies the port to connect to on the remote host. Note that 126 Specifies the port to connect to on the remote host. Note that
127 this option is written with a capital `P', because -p is already 127 this option is written with a capital `P', because -p is already
128 reserved for preserving the times and modes of the file in 128 reserved for preserving the times and modes of the file.
129 rcp(1).
130 129
131 -p Preserves modification times, access times, and modes from the 130 -p Preserves modification times, access times, and modes from the
132 original file. 131 original file.
@@ -149,15 +148,15 @@ EXIT STATUS
149 The scp utility exits 0 on success, and >0 if an error occurs. 148 The scp utility exits 0 on success, and >0 if an error occurs.
150 149
151SEE ALSO 150SEE ALSO
152 rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), 151 sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), ssh_config(5),
153 ssh_config(5), sshd(8) 152 sshd(8)
154 153
155HISTORY 154HISTORY
156 scp is based on the rcp(1) program in BSD source code from the Regents of 155 scp is based on the rcp program in BSD source code from the Regents of
157 the University of California. 156 the University of California.
158 157
159AUTHORS 158AUTHORS
160 Timo Rinne <tri@iki.fi> 159 Timo Rinne <tri@iki.fi>
161 Tatu Ylonen <ylo@cs.hut.fi> 160 Tatu Ylonen <ylo@cs.hut.fi>
162 161
163OpenBSD 5.5 October 20, 2013 OpenBSD 5.5 162OpenBSD 5.6 March 19, 2014 OpenBSD 5.6