[BACK]Return to scp.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/scp.1 between version 1.103 and 1.104

version 1.103, 2021/09/10 07:11:11 version 1.104, 2021/09/20 01:55:42
Line 76 
Line 76 
 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 (via the  Note that, when using the original SCP protocol (the default), this option
 .Fl O  
 flag), 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 111 
Line 109 
 .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 143 
Line 141 
 .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, for backwards-compatibility for particular filename  not implement SFTP, for backwards-compatibility for particular filename
 wildcard patterns and for expanding paths with a  wildcard patterns and for expanding paths with a
 .Sq ~  .Sq ~
 prefix for older SFTP servers.  prefix for older SFTP servers.
   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
 .Nm ssh  .Nm ssh
Line 258 
Line 257 
 The program must understand  The program must understand
 .Xr ssh 1  .Xr ssh 1
 options.  options.
   .It Fl s
   use the SFTP protocol for transfers rather than the original scp protocol.
 .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 294 
Line 295 
 is based on the rcp program in  is based on the rcp program in
 .Bx  .Bx
 source code from the Regents of the University of California.  source code from the Regents of the University of California.
 .Pp  
 Since OpenSSH 8.8,  
 .Nm  
 has use the SFTP protocol for transfers by default.  
 .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  .Sh CAVEATS
 The legacy SCP protocol (selected by the  The original SCP protocol (used by default) requires execution of the
 .Fl O  remote user's shell to perform
 flag) requires execution of the remote user's shell to perform  
 .Xr glob 3  .Xr glob 3
 pattern matching.  pattern matching.
 This requires careful quoting of any characters that have special meaning to  This requires careful quoting of any characters that have special meaning to

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104