summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp.1
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-02-07 18:10:40 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-02-07 18:10:40 +0000
commitec6d74227fc7f6a076cf631f12ff8dd944f2870f (patch)
treeb49c5c187f91263cc5febbeded7a023c62986cf3 /usr.bin/ssh/sftp.1
parent275d2897dd80815f7acb4d5da686886aa97d4e3a (diff)
more man page cleanup and sync of help text with man page; ok markus@
Diffstat (limited to 'usr.bin/ssh/sftp.1')
-rw-r--r--usr.bin/ssh/sftp.140
1 files changed, 22 insertions, 18 deletions
diff --git a/usr.bin/ssh/sftp.1 b/usr.bin/ssh/sftp.1
index 14d008032ea..84edc4d67e0 100644
--- a/usr.bin/ssh/sftp.1
+++ b/usr.bin/ssh/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.4 2001/02/07 13:49:42 itojun Exp $
+.\" $OpenBSD: sftp.1,v 1.5 2001/02/07 18:10:39 stevesk Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -44,17 +44,17 @@ It may also use many features of ssh, such as public key authentication and
compression.
.Nm
connects and logs into the specified
-.Ar hostname
+.Ar hostname ,
then enters an interactive command mode.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl v
+Raise logging level. This option is also passed to ssh.
.It Fl C
Enables compression (via ssh's
.Fl C
flag)
-.It Fl v
-Raise logging level. This option is also passed to ssh.
.It Fl o Ar ssh_option
Specify an option to be directly passed to
.Xr ssh 1 .
@@ -74,35 +74,38 @@ Change local directory to
.Ar path .
.It Ic chgrp Ar grp Ar path
Change group of file
-.Ar path to
+.Ar path
+to
.Ar grp .
.Ar grp
-must be numeric.
+must be a numeric GID.
.It Ic chmod Ar mode Ar path
Change permissions of file
-.Ar path to
+.Ar path
+to
.Ar mode .
.It Ic chown Ar own Ar path
Change owner of file
-.Ar path to
+.Ar path
+to
.Ar own .
.Ar own
must be a numeric UID.
.It Ic help
Display help text.
-.It Ic get Ar remote-file Op Ar local-file
+.It Ic get Ar remote-path Op Ar local-path
Retrieve the
-.Ar remote-file
+.Ar remote-path
and store it on the local machine.
If the local
-file 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.
.It Ic lls Op Ar ls-options Op Ar path
Display local directory listing of either
.Ar path
or current directory if
.Ar path
-was not specified.
+is not specified.
.It Ic lmkdir Ar path
Create local directory specified by
.Ar path .
@@ -111,18 +114,19 @@ Print local working directory.
.It Ic ls Op Ar path
Display remote directory listing of either
.Ar path
-or current directory, is
-.Ar path not specified.
+or current directory if
+.Ar path
+is not specified.
.It Ic lumask Ar umask
Set local umask to
.Ar umask .
.It Ic mkdir Ar path
Create remote directory specified by
.Ar path .
-.It Ic put Ar local-file Op Ar remote-file
+.It Ic put Ar local-path Op Ar remote-path
Upload
-.Ar local-file
-and store it on the remote machine. If the local file name is not specified,
+.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.
.It Ic pwd
Display remote working directory.
@@ -148,7 +152,7 @@ in local shell.
.It Ic !
Escape to local shell.
.It Ic ?
-A synonym for help.
+Synonym for help.
.El
.Sh AUTHORS
Damien Miller <djm@mindrot.org>