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

Diff for /src/usr.bin/ssh/sftp.1 between version 1.52.2.2 and 1.53

version 1.52.2.2, 2005/03/10 17:15:04 version 1.53, 2004/04/28 07:13:42
Line 71 
Line 71 
 authentication method is used; otherwise it will do so after  authentication method is used; otherwise it will do so after
 successful interactive authentication.  successful interactive authentication.
 .Pp  .Pp
 The third usage format allows  The third usage format allows the sftp client to start in a remote directory.
 .Nm  
 to start in a remote directory.  
 .Pp  .Pp
 The final usage format allows for automated sessions using the  The final usage format allows for automated sessions using the
 .Fl b  .Fl b
Line 155 
Line 153 
 .It Compression  .It Compression
 .It CompressionLevel  .It CompressionLevel
 .It ConnectionAttempts  .It ConnectionAttempts
 .It ConnectTimeout  .It ConnectionTimeout
 .It ControlMaster  
 .It ControlPath  
 .It GlobalKnownHostsFile  .It GlobalKnownHostsFile
 .It GSSAPIAuthentication  .It GSSAPIAuthentication
 .It GSSAPIDelegateCredentials  .It GSSAPIDelegateCredentials
 .It HashKnownHosts  
 .It Host  .It Host
 .It HostbasedAuthentication  .It HostbasedAuthentication
 .It HostKeyAlgorithms  .It HostKeyAlgorithms
Line 169 
Line 164 
 .It HostName  .It HostName
 .It IdentityFile  .It IdentityFile
 .It IdentitiesOnly  .It IdentitiesOnly
 .It KbdInteractiveDevices  
 .It LogLevel  .It LogLevel
 .It MACs  .It MACs
 .It NoHostAuthenticationForLocalhost  .It NoHostAuthenticationForLocalhost
Line 196 
Line 190 
 .It Fl P Ar sftp_server_path  .It Fl P Ar sftp_server_path
 Connect directly to a local sftp server  Connect directly to a local sftp server
 (rather than via  (rather than via
 .Xr ssh 1 ) .  .Xr ssh 1 )
 This option may be useful in debugging the client and server.  This option may be useful in debugging the client and server.
 .It Fl R Ar num_requests  .It Fl R Ar num_requests
 Specify how many requests may be outstanding at any one time.  Specify how many requests may be outstanding at any one time.
Line 227 
Line 221 
 .Nm  .Nm
 understands a set of commands similar to those of  understands a set of commands similar to those of
 .Xr ftp 1 .  .Xr ftp 1 .
 Commands are case insensitive.  Commands are case insensitive and pathnames may be enclosed in quotes if they
 Pathnames that contain spaces must be enclosed in quotes.  contain spaces.
 Any special characters contained within pathnames that are recognized by  .Bl -tag -width "lmdir path"
 .Xr glob 3  
 must be escaped with backslashes  
 .Pq Sq \e .  
 .Bl -tag -width Ds  
 .It Ic bye  .It Ic bye
 Quit  Quit
 .Nm sftp .  .Nm sftp .
Line 245 
Line 235 
 .Ar path  .Ar path
 to  to
 .Ar grp .  .Ar grp .
 .Ar path  
 may contain  
 .Xr glob 3  
 characters and may match multiple files.  
 .Ar grp  .Ar grp
 must be a numeric GID.  must be a numeric GID.
 .It Ic chmod Ar mode Ar path  .It Ic chmod Ar mode Ar path
Line 256 
Line 242 
 .Ar path  .Ar path
 to  to
 .Ar mode .  .Ar mode .
 .Ar path  
 may contain  
 .Xr glob 3  
 characters and may match multiple files.  
 .It Ic chown Ar own Ar path  .It Ic chown Ar own Ar path
 Change owner of file  Change owner of file
 .Ar path  .Ar path
 to  to
 .Ar own .  .Ar own .
 .Ar path  
 may contain  
 .Xr glob 3  
 characters and may match multiple files.  
 .Ar own  .Ar own
 must be a numeric UID.  must be a numeric UID.
 .It Ic exit  .It Ic exit
 Quit  Quit
 .Nm sftp .  .Nm sftp .
 .It Xo Ic get  .It Xo Ic get
 .Op Fl P  .Op Ar flags
 .Ar remote-path  .Ar remote-path
 .Op Ar local-path  .Op Ar local-path
 .Xc  .Xc
Line 285 
Line 263 
 If the local  If the local
 path name is not specified, it is given the same name it has on the  path name is not specified, it is given the same name it has on the
 remote machine.  remote machine.
 .Ar remote-path  
 may contain  
 .Xr glob 3  
 characters and may match multiple files.  
 If it does and  
 .Ar local-path  
 is specified, then  
 .Ar local-path  
 must specify a directory.  
 If the  If the
 .Fl P  .Fl P
 flag is specified, then full file permissions and access times are  flag is specified, then the file's full permission and access time are
 copied too.  copied too.
 .It Ic help  .It Ic help
 Display help text.  Display help text.
Line 309 
Line 278 
 or current directory if  or current directory if
 .Ar path  .Ar path
 is not specified.  is not specified.
 .Ar ls-options  
 may contain any flags supported by the local system's  
 .Xr ls 1  
 command.  
 .Ar path  
 may contain  
 .Xr glob 3  
 characters and may match multiple files.  
 .It Ic lmkdir Ar path  .It Ic lmkdir Ar path
 Create local directory specified by  Create local directory specified by
 .Ar path .  .Ar path .
Line 328 
Line 289 
 .It Ic lpwd  .It Ic lpwd
 Print local working directory.  Print local working directory.
 .It Xo Ic ls  .It Xo Ic ls
 .Op Fl 1aflnrSt  .Op Ar flags
 .Op Ar path  .Op Ar path
 .Xc  .Xc
 Display a remote directory listing of either  Display remote directory listing of either
 .Ar path  .Ar path
 or the current directory if  or current directory if
 .Ar path  .Ar path
 is not specified.  is not specified.
 .Ar path  If the
 may contain  .Fl l
 .Xr glob 3  flag is specified, then display additional details including permissions
 characters and may match multiple files.  
 .Pp  
 The following flags are recognized and alter the behaviour of  
 .Ic ls  
 accordingly:  
 .Bl -tag -width Ds  
 .It Fl 1  
 Produce single columnar output.  
 .It Fl a  
 List files beginning with a dot  
 .Pq Sq \&. .  
 .It Fl f  
 Do not sort the listing.  
 The default sort order is lexicographical.  
 .It Fl l  
 Display additional details including permissions  
 and ownership information.  and ownership information.
 .It Fl n  
 Produce a long listing with user and group information presented  
 numerically.  
 .It Fl r  
 Reverse the sort order of the listing.  
 .It Fl S  
 Sort the listing by file size.  
 .It Fl t  
 Sort the listing by last modification time.  
 .El  
 .It Ic lumask Ar umask  .It Ic lumask Ar umask
 Set local umask to  Set local umask to
 .Ar umask .  .Ar umask .
Line 375 
Line 310 
 .It Ic progress  .It Ic progress
 Toggle display of progress meter.  Toggle display of progress meter.
 .It Xo Ic put  .It Xo Ic put
 .Op Fl P  .Op Ar flags
 .Ar local-path  .Ar local-path
 .Op Ar remote-path  .Op Ar remote-path
 .Xc  .Xc
Line 384 
Line 319 
 and store it on the remote machine.  and store it on the remote machine.
 If the remote path name is not specified, it is given the same name it has  If the remote path name is not specified, it is given the same name it has
 on the local machine.  on the local machine.
 .Ar local-path  
 may contain  
 .Xr glob 3  
 characters and may match multiple files.  
 If it does and  
 .Ar remote-path  
 is specified, then  
 .Ar remote-path  
 must specify a directory.  
 If the  If the
 .Fl P  .Fl P
 flag is specified, then the file's full permission and access time are  flag is specified, then the file's full permission and access time are
Line 433 
Line 359 
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr ftp 1 ,  .Xr ftp 1 ,
 .Xr ls 1 ,  
 .Xr scp 1 ,  .Xr scp 1 ,
 .Xr ssh 1 ,  .Xr ssh 1 ,
 .Xr ssh-add 1 ,  .Xr ssh-add 1 ,
 .Xr ssh-keygen 1 ,  .Xr ssh-keygen 1 ,
 .Xr glob 3 ,  
 .Xr ssh_config 5 ,  .Xr ssh_config 5 ,
 .Xr sftp-server 8 ,  .Xr sftp-server 8 ,
 .Xr sshd 8  .Xr sshd 8

Legend:
Removed from v.1.52.2.2  
changed lines
  Added in v.1.53