[BACK]Return to scp.1 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / crypto / external / bsd / openssh / dist

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/crypto/external/bsd/openssh/dist/scp.1 between version 1.1.1.20 and 1.1.1.21

version 1.1.1.20, 2021/09/02 11:22:29 version 1.1.1.21, 2021/09/27 17:00:58
Line 8 
Line 8 
 .\"  .\"
 .\" Created: Sun May  7 00:14:37 1995 ylo  .\" Created: Sun May  7 00:14:37 1995 ylo
 .\"  .\"
 .\" $OpenBSD: scp.1,v 1.100 2021/08/11 14:07:54 naddy Exp $  .\" $OpenBSD: scp.1,v 1.105 2021/09/20 06:53:56 djm Exp $
 .\"  .\"
 .Dd $Mdocdate: August 11 2021 $  .Dd $Mdocdate: September 20 2021 $
 .Dt SCP 1  .Dt SCP 1
 .Os  .Os
 .Sh NAME  .Sh NAME
Line 37  It uses
Line 37  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 a login session.  same security as a login session.
 The scp protocol requires execution of the remote user's shell to perform  
 .Xr glob 3  
 pattern matching.  
 .Pp  .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
Line 79  The options are as follows:
Line 76  The options are as follows:
 Copies between two remote hosts are transferred through the local host.  Copies between two remote hosts are transferred through the local host.
 Without this option the data is copied directly between the two remote  Without this option the data is copied directly between the two remote
 hosts.  hosts.
 Note that, when using the legacy SCP protocol (the default), this option  Note that, when using the original SCP protocol (the default), this option
 selects batch mode for the second host as  selects batch mode for the second host as
 .Nm  .Nm
 cannot ask for passwords or passphrases for both hosts.  cannot ask for passwords or passphrases for both hosts.
Line 112  This option is directly passed to
Line 109  This option is directly passed to
 .Xr ssh 1 .  .Xr ssh 1 .
 .It Fl D Ar sftp_server_path  .It Fl D Ar sftp_server_path
 When using the SFTP protocol support via  When using the SFTP protocol support via
 .Fl M ,  .Fl s ,
 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  remote one via
 .Xr ssh 1 .  .Xr ssh 1 .
Line 144  This option is directly passed to
Line 141  This option is directly passed to
 .It Fl l Ar limit  .It Fl l Ar limit
 Limits the used bandwidth, specified in Kbit/s.  Limits the used bandwidth, specified in Kbit/s.
 .It Fl O  .It Fl O
 Use the legacy SCP protocol for file transfers instead of the SFTP protocol.  Use the original SCP protocol for file transfers instead of the SFTP protocol.
 Forcing the use of the SCP protocol may be necessary for servers that do  Forcing the use of the SCP protocol may be necessary for servers that do
 not implement SFTP or for backwards-compatibility for particular filename  not implement SFTP, for backwards-compatibility for particular filename
 wildcard patterns.  wildcard patterns and for expanding paths with a
   .Sq ~
   prefix for older SFTP servers.
 This mode is the default.  This mode is the default.
 .It Fl o Ar ssh_option  .It Fl o Ar ssh_option
 Can be used to pass options to  Can be used to pass options to
Line 229  Note that this option is written with a 
Line 228  Note that this option is written with a 
 .Sq P ,  .Sq P ,
 because  because
 .Fl p  .Fl p
 is already reserved for preserving the times and modes of the file.  is already reserved for preserving the times and mode bits of the file.
 .It Fl p  .It Fl p
 Preserves modification times, access times, and modes from the  Preserves modification times, access times, and file mode bits from the
 original file.  source file.
 .It Fl q  .It Fl q
 Quiet mode: disables the progress meter as well as warning and diagnostic  Quiet mode: disables the progress meter as well as warning and diagnostic
 messages from  messages from
Line 259  The program must understand
Line 258  The program must understand
 .Xr ssh 1  .Xr ssh 1
 options.  options.
 .It Fl s  .It Fl s
 Use the SFTP protocol for file transfers instead of the legacy SCP protocol.  Use the SFTP protocol for transfers rather than the original scp protocol.
 Using SFTP avoids invoking a shell on the remote side and provides  
 more predictable filename handling, as the SCP protocol  
 relied on the remote shell for expanding  
 .Xr glob 3  
 wildcards.  
 .Pp  
 A near-future release of OpenSSH will make the SFTP protocol the default.  
 This option will be deleted before the end of 2022.  
 .It Fl T  .It Fl T
 Disable strict filename checking.  Disable strict filename checking.
 By default when copying files from a remote host to a local directory  By default when copying files from a remote host to a local directory
Line 307  source code from the Regents of the Univ
Line 298  source code from the Regents of the Univ
 .Sh AUTHORS  .Sh AUTHORS
 .An Timo Rinne Aq Mt tri@iki.fi  .An Timo Rinne Aq Mt tri@iki.fi
 .An Tatu Ylonen Aq Mt ylo@cs.hut.fi  .An Tatu Ylonen Aq Mt ylo@cs.hut.fi
   .Sh CAVEATS
   The original SCP protocol (used by default) requires execution of the
   remote user's shell to perform
   .Xr glob 3
   pattern matching.
   This requires careful quoting of any characters that have special meaning to
   the remote shell, such as quote characters.

Legend:
Removed from v.1.1.1.20  
changed lines
  Added in v.1.1.1.21

CVSweb <webmaster@jp.NetBSD.org>