upstream: split introductory paragraph, and insert ominous words about

the glob issue, which cannot be fully fixed and really requires completely
replacing scp with a completely different subsystem. team effort to find the
right words..

OpenBSD-Commit-ID: 58e1f72d292687f63eb357183036ee242513691c
This commit is contained in:
deraadt@openbsd.org 2020-10-03 02:18:33 +00:00 committed by Damien Miller
parent 86cc8ce002
commit 66bd9fdf8b

12
scp.1
View File

@ -8,9 +8,9 @@
.\" .\"
.\" Created: Sun May 7 00:14:37 1995 ylo .\" Created: Sun May 7 00:14:37 1995 ylo
.\" .\"
.\" $OpenBSD: scp.1,v 1.90 2020/08/03 02:43:41 djm Exp $ .\" $OpenBSD: scp.1,v 1.91 2020/10/03 02:18:33 deraadt Exp $
.\" .\"
.Dd $Mdocdate: August 3 2020 $ .Dd $Mdocdate: October 3 2020 $
.Dt SCP 1 .Dt SCP 1
.Os .Os
.Sh NAME .Sh NAME
@ -31,11 +31,15 @@
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
copies files between hosts on a network. copies files between hosts on a network.
.Pp
It uses It uses
.Xr ssh 1 .Xr ssh 1
for data transfer, and uses the same authentication and provides the for data transfer, and uses the same authentication and provides the
same security as same security as a login session.
.Xr ssh 1 . The scp protocol requires execution of the remote user's shell to perform
.Xr glob 3
pattern matching.
.Pp
.Nm .Nm
will ask for passwords or passphrases if they are needed for will ask for passwords or passphrases if they are needed for
authentication. authentication.