=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sftp.1,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -u -r1.13 -r1.13.2.1 --- src/usr.bin/ssh/sftp.1 2001/03/08 20:44:48 1.13 +++ src/usr.bin/ssh/sftp.1 2001/03/12 15:44:15 1.13.2.1 @@ -1,6 +1,6 @@ -.\" $OpenBSD: sftp.1,v 1.13 2001/03/08 20:44:48 stevesk Exp $ +.\" $OpenBSD: sftp.1,v 1.13.2.1 2001/03/12 15:44:15 jason Exp $ .\" -.\" 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 .\" modification, are permitted provided that the following conditions @@ -31,7 +31,6 @@ .Sh SYNOPSIS .Nm sftp .Op Fl vC -.Op Fl b Ar batchfile .Op Fl o Ar ssh_option .Op Ar hostname | user@hostname .Sh DESCRIPTION @@ -50,19 +49,8 @@ .Pp The options are as follows: .Bl -tag -width Ds -.It Fl b Ar batchfile -Batch mode reads a series of commands from an input -.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 v +Raise logging level. This option is also passed to ssh. .It Fl C Enables compression (via ssh's .Fl C @@ -70,8 +58,6 @@ .It Fl o Ar ssh_option Specify an option to be directly passed to .Xr ssh 1 . -.It Fl v -Raise logging level. This option is also passed to ssh. .El .Sh INTERACTIVE COMMANDS Once in interactive mode, @@ -106,8 +92,8 @@ .Ar own . .Ar own must be a numeric UID. -.It Ic exit -Quit sftp. +.It Ic help +Display help text. .It Xo Ic get .Op Ar flags .Ar remote-path @@ -122,8 +108,6 @@ .Fl P flag is specified, then the file's full permission and access time are copied too. -.It Ic help -Display help text. .It Ic lls Op Ar ls-options Op Ar path Display local directory listing of either .Ar path @@ -133,11 +117,6 @@ .It Ic lmkdir Ar path Create local directory specified by .Ar path . -.It Ic ln Ar oldpath Ar newpath -Create a symbolic link from -.Ar oldpath -to -.Ar newpath . .It Ic lpwd Print local working directory. .It Ic ls Op Ar path @@ -159,13 +138,15 @@ .Xc Upload .Ar local-path -and store it on the remote machine. If the remote path name is not -specified, it is given the same name it has on the local machine. If the +and store it on the remote machine. If the remote path name is not specified, +it is given the same name it has on the local machine. If the .Fl P flag is specified, then the file's full permission and access time are copied too. .It Ic pwd Display remote working directory. +.It Ic exit +Quit sftp. .It Ic quit Quit sftp. .It Ic rename Ar oldpath Ar newpath @@ -179,11 +160,6 @@ .It Ic rm Ar path Delete remote file specified by .Ar path . -.It Ic symlink Ar oldpath Ar newpath -Create a symbolic link from -.Ar oldpath -to -.Ar newpath . .It Ic ! Ar command Execute .Ar command @@ -197,7 +173,6 @@ Damien Miller .Sh SEE ALSO .Xr ssh 1 , -.Xr sftp-server 8 , .Xr ssh-add 1 , .Xr ssh-keygen 1 , .Xr sshd 8 ,