summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-01-31 20:06:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-01-31 20:06:51 +0000
commit4af9aa25380a897b1b8cd7e1577644229b57aea0 (patch)
tree2ba398253eaa8b38af68fa1f8e5f84ecb997ff37 /usr.bin
parent61698e74d867e8af2db634f65aea385cce4c106b (diff)
explain how to handle local file names containing colons;
requested by Tamas TEVESZ ok dtucker
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/scp.114
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/ssh/scp.1 b/usr.bin/ssh/scp.1
index 46b72eda333..7122fa40f39 100644
--- a/usr.bin/ssh/scp.1
+++ b/usr.bin/ssh/scp.1
@@ -9,9 +9,9 @@
.\"
.\" Created: Sun May 7 00:14:37 1995 ylo
.\"
-.\" $OpenBSD: scp.1,v 1.43 2008/01/19 19:25:50 djm Exp $
+.\" $OpenBSD: scp.1,v 1.44 2008/01/31 20:06:50 jmc Exp $
.\"
-.Dd $Mdocdate: January 19 2008 $
+.Dd $Mdocdate: January 31 2008 $
.Dt SCP 1
.Os
.Sh NAME
@@ -56,9 +56,15 @@ Unlike
will ask for passwords or passphrases if they are needed for
authentication.
.Pp
-Any file name may contain a host and user specification to indicate
+File names may contain a user and host specification to indicate
that the file is to be copied to/from that host.
-Copies between two remote hosts are permitted.
+Local file names can be made explicit using absolute or relative pathnames
+to avoid
+.Nm
+treating file names containing
+.Sq :\&
+as host specifiers.
+Copies between two remote hosts are also permitted.
.Pp
The options are as follows:
.Bl -tag -width Ds