summaryrefslogtreecommitdiff
path: root/usr/src/man/man1/scp.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1/scp.1')
-rw-r--r--usr/src/man/man1/scp.153
1 files changed, 8 insertions, 45 deletions
diff --git a/usr/src/man/man1/scp.1 b/usr/src/man/man1/scp.1
index d065f4d7b4..c2b44aa6b9 100644
--- a/usr/src/man/man1/scp.1
+++ b/usr/src/man/man1/scp.1
@@ -2,14 +2,14 @@
.\" To view license terms, attribution, and copyright for OpenSSH, the default path is /var/sadm/pkg/SUNWsshdr/install/copyright. If the Solaris operating environment has been installed anywhere other than the default, modify the given path to access the file at the
.\" installed location.
.\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
-.TH scp 1 "22 Jun 2007" "SunOS 5.11" "User Commands"
+.TH SCP 1 "Jun 22, 2007"
.SH NAME
scp \- secure copy (remote file copy program)
.SH SYNOPSIS
.LP
.nf
-\fBscp\fR [\fB-pqrvBC46\fR] [\fB-F\fR \fIssh_config\fR] [\fB-S\fR \fIprogram\fR] [\fB-P\fR \fIport\fR]
- [\fB-c\fR \fIcipher\fR] [\fB-i\fR \fIidentity_file\fR] [\fB-o\fR \fIssh_option\fR]
+\fBscp\fR [\fB-pqrvBC46\fR] [\fB-F\fR \fIssh_config\fR] [\fB-S\fR \fIprogram\fR] [\fB-P\fR \fIport\fR]
+ [\fB-c\fR \fIcipher\fR] [\fB-i\fR \fIidentity_file\fR] [\fB-o\fR \fIssh_option\fR]
[ [\fIuser\fR@]\fIhost1\fR:]\fIfile1\fR []... [ [\fIuser\fR@]\fIhost2\fR:]\fIfile2\fR
.fi
@@ -31,114 +31,94 @@ permitted.
The following options are supported:
.sp
.ne 2
-.mk
.na
\fB\fB-4\fR\fR
.ad
.RS 20n
-.rt
Forces \fBscp\fR to use IPv4 addresses only.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-6\fR\fR
.ad
.RS 20n
-.rt
Forces \fBscp\fR to use IPv6 addresses only.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-B\fR\fR
.ad
.RS 20n
-.rt
Selects batch mode. (Prevents asking for passwords or passphrases.)
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-c\fR \fIcipher\fR\fR
.ad
.RS 20n
-.rt
Selects the cipher to use for encrypting the data transfer. This option is
directly passed to \fBssh\fR(1).
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-C\fR\fR
.ad
.RS 20n
-.rt
Compression enable. Passes the \fB-C\fR flag to \fBssh\fR(1) to enable
compression.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-F\fR \fIssh_config\fR\fR
.ad
.RS 20n
-.rt
Specifies an alternative per-user configuration file for \fBssh\fR(1.).
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-i\fR \fIidentity_file\fR\fR
.ad
.RS 20n
-.rt
Selects the file from which the identity (private key) for \fBRSA\fR
authentication is read. This option is directly passed to \fBssh\fR(1).
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-o\fR \fIssh_option\fR\fR
.ad
.RS 20n
-.rt
The given option is directly passed to \fBssh\fR(1).
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-p\fR\fR
.ad
.RS 20n
-.rt
Preserves modification times, access times, and modes from the original file.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-P\fR \fIport\fR\fR
.ad
.RS 20n
-.rt
Specifies the port to connect to on the remote host. Notice that this option is
written with a capital `P', because \fB-p\fR is already reserved for preserving
the times and modes of the file in \fBrcp\fR(1).
@@ -146,46 +126,38 @@ the times and modes of the file in \fBrcp\fR(1).
.sp
.ne 2
-.mk
.na
\fB\fB-q\fR\fR
.ad
.RS 20n
-.rt
Disables the progress meter.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-r\fR\fR
.ad
.RS 20n
-.rt
Recursively copies entire directories.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-S\fR \fIprogram\fR\fR
.ad
.RS 20n
-.rt
Specifies the name of the program to use for the encrypted connection. The
program must understand \fBssh\fR(1) options.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-v\fR\fR
.ad
.RS 20n
-.rt
Verbose mode. Causes \fBscp\fR and \fBssh\fR(1) to print debugging messages
about their progress. This is helpful in debugging connection, authentication,
and configuration problems.
@@ -197,23 +169,19 @@ and configuration problems.
The following operands are supported:
.sp
.ne 2
-.mk
.na
\fB\fIhost1, host2,\fR...\fR
.ad
.RS 20n
-.rt
The name(s) of the host from or to which the file is to be copied.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIfile1, file2,\fR...\fR
.ad
.RS 20n
-.rt
The file(s) to be copied.
.RE
@@ -223,23 +191,19 @@ The file(s) to be copied.
The following exit values are returned:
.sp
.ne 2
-.mk
.na
\fB\fB0\fR\fR
.ad
.RS 5n
-.rt
Successful completion.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB1\fR\fR
.ad
.RS 5n
-.rt
An error occurred.
.RE
@@ -251,13 +215,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityEvolving
+Interface Stability Evolving
.TE
.SH SEE ALSO