[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.13 and 1.13.2.1

version 1.13, 2001/03/08 20:44:48 version 1.13.2.1, 2001/03/12 15:44:15
Line 1 
Line 1 
 .\" $OpenBSD$  .\" $OpenBSD$
 .\"  .\"
 .\" Copyright (c) 2001 Damien Miller.  All rights reserved.  .\" Copyright (c) 2001 Damien Miller. All rights reserved.
 .\"  .\"
 .\" Redistribution and use in source and binary forms, with or without  .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions  .\" modification, are permitted provided that the following conditions
Line 31 
Line 31 
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm sftp  .Nm sftp
 .Op Fl vC  .Op Fl vC
 .Op Fl b Ar batchfile  
 .Op Fl o Ar ssh_option  .Op Fl o Ar ssh_option
 .Op Ar hostname | user@hostname  .Op Ar hostname | user@hostname
 .Sh DESCRIPTION  .Sh DESCRIPTION
Line 50 
Line 49 
 .Pp  .Pp
 The options are as follows:  The options are as follows:
 .Bl -tag -width Ds  .Bl -tag -width Ds
 .It Fl b Ar batchfile  .It Fl v
 Batch mode reads a series of commands from an input  Raise logging level. This option is also passed to ssh.
 .Ar batchfile  
 instead of  
 .Em stdin .  
 Since it lacks user interaction it should be used in conjunction with  
 non-interactive authentication.  
 .Nm  
 will abort if any of the following  
 commands fail:  
 .Ic get , put , rename , ln , rm , mkdir , chdir , lchdir  
 and  
 .Ic lmkdir .  
 .It Fl C  .It Fl C
 Enables compression (via ssh's  Enables compression (via ssh's
 .Fl C  .Fl C
Line 70 
Line 58 
 .It Fl o Ar ssh_option  .It Fl o Ar ssh_option
 Specify an option to be directly passed to  Specify an option to be directly passed to
 .Xr ssh 1 .  .Xr ssh 1 .
 .It Fl v  
 Raise logging level. This option is also passed to ssh.  
 .El  .El
 .Sh INTERACTIVE COMMANDS  .Sh INTERACTIVE COMMANDS
 Once in interactive mode,  Once in interactive mode,
Line 106 
Line 92 
 .Ar own .  .Ar own .
 .Ar own  .Ar own
 must be a numeric UID.  must be a numeric UID.
 .It Ic exit  .It Ic help
 Quit sftp.  Display help text.
 .It Xo Ic get  .It Xo Ic get
 .Op Ar flags  .Op Ar flags
 .Ar remote-path  .Ar remote-path
Line 122 
Line 108 
 .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
 copied too.  copied too.
 .It Ic help  
 Display help text.  
 .It Ic lls Op Ar ls-options Op Ar path  .It Ic lls Op Ar ls-options Op Ar path
 Display local directory listing of either  Display local directory listing of either
 .Ar path  .Ar path
Line 133 
Line 117 
 .It Ic lmkdir Ar path  .It Ic lmkdir Ar path
 Create local directory specified by  Create local directory specified by
 .Ar path .  .Ar path .
 .It Ic ln Ar oldpath Ar newpath  
 Create a symbolic link from  
 .Ar oldpath  
 to  
 .Ar newpath .  
 .It Ic lpwd  .It Ic lpwd
 Print local working directory.  Print local working directory.
 .It Ic ls Op Ar path  .It Ic ls Op Ar path
Line 159 
Line 138 
 .Xc  .Xc
 Upload  Upload
 .Ar local-path  .Ar local-path
 and store it on the remote machine. If the remote path name is not  and store it on the remote machine. If the remote path name is not specified,
 specified, it is given the same name it has on the local machine. If the  it is given the same name it has on the local machine. 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
 copied too.  copied too.
 .It Ic pwd  .It Ic pwd
 Display remote working directory.  Display remote working directory.
   .It Ic exit
   Quit sftp.
 .It Ic quit  .It Ic quit
 Quit sftp.  Quit sftp.
 .It Ic rename Ar oldpath Ar newpath  .It Ic rename Ar oldpath Ar newpath
Line 179 
Line 160 
 .It Ic rm Ar path  .It Ic rm Ar path
 Delete remote file specified by  Delete remote file specified by
 .Ar path .  .Ar path .
 .It Ic symlink Ar oldpath Ar newpath  
 Create a symbolic link from  
 .Ar oldpath  
 to  
 .Ar newpath .  
 .It Ic ! Ar command  .It Ic ! Ar command
 Execute  Execute
 .Ar command  .Ar command
Line 197 
Line 173 
 Damien Miller <djm@mindrot.org>  Damien Miller <djm@mindrot.org>
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr ssh 1 ,  .Xr ssh 1 ,
 .Xr sftp-server 8 ,  
 .Xr ssh-add 1 ,  .Xr ssh-add 1 ,
 .Xr ssh-keygen 1 ,  .Xr ssh-keygen 1 ,
 .Xr sshd 8 ,  .Xr sshd 8 ,

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.13.2.1