aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/scp.1
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/scp.1')
-rw-r--r--crypto/openssh/scp.132
1 files changed, 23 insertions, 9 deletions
diff --git a/crypto/openssh/scp.1 b/crypto/openssh/scp.1
index f39066d4448d..54c6fe3d5f3d 100644
--- a/crypto/openssh/scp.1
+++ b/crypto/openssh/scp.1
@@ -8,9 +8,9 @@
.\"
.\" Created: Sun May 7 00:14:37 1995 ylo
.\"
-.\" $OpenBSD: scp.1,v 1.108 2022/02/23 21:21:16 djm Exp $
+.\" $OpenBSD: scp.1,v 1.112 2022/12/16 07:13:22 djm Exp $
.\"
-.Dd $Mdocdate: February 23 2022 $
+.Dd $Mdocdate: December 16 2022 $
.Dt SCP 1
.Os
.Sh NAME
@@ -28,15 +28,17 @@
.Op Fl o Ar ssh_option
.Op Fl P Ar port
.Op Fl S Ar program
+.Op Fl X Ar sftp_option
.Ar source ... target
.Sh DESCRIPTION
.Nm
copies files between hosts on a network.
.Pp
-It uses
+.Nm
+uses the SFTP protocol over a
.Xr ssh 1
-for data transfer, and uses the same authentication and provides the
-same security as a login session.
+connection for data transfer, and uses the same authentication and provides
+the same security as a login session.
.Pp
.Nm
will ask for passwords or passphrases if they are needed for
@@ -110,9 +112,7 @@ Selects the cipher to use for encrypting the data transfer.
This option is directly passed to
.Xr ssh 1 .
.It Fl D Ar sftp_server_path
-When using the SFTP protocol support via
-.Fl M ,
-connect directly to a local SFTP server program rather than a
+Connect directly to a local SFTP server program rather than a
remote one via
.Xr ssh 1 .
This option may be useful in debugging the client and server.
@@ -212,6 +212,7 @@ For full details of the options listed below, and their possible values, see
.It PubkeyAcceptedAlgorithms
.It PubkeyAuthentication
.It RekeyLimit
+.It RequiredRSASize
.It SendEnv
.It ServerAliveInterval
.It ServerAliveCountMax
@@ -277,6 +278,19 @@ and
to print debugging messages about their progress.
This is helpful in
debugging connection, authentication, and configuration problems.
+.It Fl X Ar sftp_option
+Specify an option that controls aspects of SFTP protocol behaviour.
+The valid options are:
+.Bl -tag -width Ds
+.It Cm nrequests Ns = Ns Ar value
+Controls how many concurrent SFTP read or write requests may be in progress
+at any point in time during a download or upload.
+By default 64 requests may be active concurrently.
+.It Cm buffer Ns = Ns Ar value
+Controls the maximum buffer size for a single SFTP read/write operation used
+during download or upload.
+By default a 32KB buffer is used.
+.El
.El
.Sh EXIT STATUS
.Ex -std scp
@@ -297,7 +311,7 @@ source code from the Regents of the University of California.
.Pp
Since OpenSSH 9.0,
.Nm
-has use the SFTP protocol for transfers by default.
+has used the SFTP protocol for transfers by default.
.Sh AUTHORS
.An Timo Rinne Aq Mt tri@iki.fi
.An Tatu Ylonen Aq Mt ylo@cs.hut.fi