summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authormouring <mouring>2001-04-13 00:00:14 +0000
committermouring <mouring>2001-04-13 00:00:14 +0000
commit98adff8c9f8c222f70a231a82edf6a2728bbb5a8 (patch)
tree36fb47348fa0e8023bfb0c8347994bfb1652923b /sftp.1
parent1da736867dc34fd8b041253da3faae1b44df2a0f (diff)
downloadopenssh-98adff8c9f8c222f70a231a82edf6a2728bbb5a8.tar.gz
- mouring@cvs.openbsd.org 2001/04/12 23:17:54
[sftp-int.c sftp-int.h sftp.1 sftp.c] Add support for: sftp [user@]host[:file [file]] - Fetch remote file(s) sftp [user@]host[:dir[/]] - Start in remote dir/ OK deraadt@
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.114
1 files changed, 12 insertions, 2 deletions
diff --git a/sftp.1 b/sftp.1
index 34ff9346..093ebb91 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.14 2001/04/09 00:42:05 stevesk Exp $
+.\" $OpenBSD: sftp.1,v 1.15 2001/04/12 23:17:54 mouring Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -33,7 +33,11 @@
.Op Fl vC
.Op Fl b Ar batchfile
.Op Fl o Ar ssh_option
-.Op Ar hostname | user@hostname
+.Op Ar host
+.Nm sftp
+.Op [\fIuser\fR@]\fIhost\fR[:\fIfile\fR [\fIfile\fR]]
+.Nm sftp
+.Op [\fIuser\fR@]\fIhost\fR[:\fIdir\fR[\fI/\fR]]
.Sh DESCRIPTION
.Nm
is an interactive file transfer program, similar to
@@ -48,6 +52,12 @@ connects and logs into the specified
.Ar hostname ,
then enters an interactive command mode.
.Pp
+The second usage format will fetch files automaticly if a non-interactive
+authentication is used, else it do so after an interactive authenication
+is used.
+.Pp
+The last usage format allows the sftp client to start in a remote directory.
+.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl b Ar batchfile