summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-13 00:00:14 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-13 00:00:14 +0000
commit63667f6568d0667b91aea46f77d54311dcffb53a (patch)
tree8c6ac90b5d25a71cc96b1cb624edfd8271927aa2 /sftp.1
parent19066a112baff6107781dc337b27e557f43098c2 (diff)
- 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 34ff9346a..093ebb91c 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.14 2001/04/09 00:42:05 stevesk Exp $ 1.\" $OpenBSD: sftp.1,v 1.15 2001/04/12 23:17:54 mouring Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -33,7 +33,11 @@
33.Op Fl vC 33.Op Fl vC
34.Op Fl b Ar batchfile 34.Op Fl b Ar batchfile
35.Op Fl o Ar ssh_option 35.Op Fl o Ar ssh_option
36.Op Ar hostname | user@hostname 36.Op Ar host
37.Nm sftp
38.Op [\fIuser\fR@]\fIhost\fR[:\fIfile\fR [\fIfile\fR]]
39.Nm sftp
40.Op [\fIuser\fR@]\fIhost\fR[:\fIdir\fR[\fI/\fR]]
37.Sh DESCRIPTION 41.Sh DESCRIPTION
38.Nm 42.Nm
39is an interactive file transfer program, similar to 43is an interactive file transfer program, similar to
@@ -48,6 +52,12 @@ connects and logs into the specified
48.Ar hostname , 52.Ar hostname ,
49then enters an interactive command mode. 53then enters an interactive command mode.
50.Pp 54.Pp
55The second usage format will fetch files automaticly if a non-interactive
56authentication is used, else it do so after an interactive authenication
57is used.
58.Pp
59The last usage format allows the sftp client to start in a remote directory.
60.Pp
51The options are as follows: 61The options are as follows:
52.Bl -tag -width Ds 62.Bl -tag -width Ds
53.It Fl b Ar batchfile 63.It Fl b Ar batchfile