diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-13 00:00:14 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-13 00:00:14 +0000 |
commit | 63667f6568d0667b91aea46f77d54311dcffb53a (patch) | |
tree | 8c6ac90b5d25a71cc96b1cb624edfd8271927aa2 /sftp.1 | |
parent | 19066a112baff6107781dc337b27e557f43098c2 (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.1 | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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 |
39 | is an interactive file transfer program, similar to | 43 | is an interactive file transfer program, similar to |
@@ -48,6 +52,12 @@ connects and logs into the specified | |||
48 | .Ar hostname , | 52 | .Ar hostname , |
49 | then enters an interactive command mode. | 53 | then enters an interactive command mode. |
50 | .Pp | 54 | .Pp |
55 | The second usage format will fetch files automaticly if a non-interactive | ||
56 | authentication is used, else it do so after an interactive authenication | ||
57 | is used. | ||
58 | .Pp | ||
59 | The last usage format allows the sftp client to start in a remote directory. | ||
60 | .Pp | ||
51 | The options are as follows: | 61 | The 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 |