diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sftp.1 | 13 | ||||
-rw-r--r-- | sftp.c | 6 |
3 files changed, 14 insertions, 11 deletions
@@ -18,6 +18,10 @@ | |||
18 | failure; avoids double-free in ~C -L handler when given an invalid | 18 | failure; avoids double-free in ~C -L handler when given an invalid |
19 | forwarding specification; bz#1539 report from adejong AT debian.org | 19 | forwarding specification; bz#1539 report from adejong AT debian.org |
20 | via Colin Watson; ok markus@ dtucker@ | 20 | via Colin Watson; ok markus@ dtucker@ |
21 | - djm@cvs.openbsd.org 2008/12/09 03:02:37 | ||
22 | [sftp.1 sftp.c] | ||
23 | correct sftp(1) and corresponding usage syntax; | ||
24 | bz#1518 patch from imorgan AT nas.nasa.gov; ok deraadt@ improved diff jmc@ | ||
21 | 25 | ||
22 | 20081208 | 26 | 20081208 |
23 | - (djm) [configure.ac] bz#1538: better test for ProPolice/SSP: actually | 27 | - (djm) [configure.ac] bz#1538: better test for ProPolice/SSP: actually |
@@ -4985,5 +4989,5 @@ | |||
4985 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 4989 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
4986 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 4990 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
4987 | 4991 | ||
4988 | $Id: ChangeLog,v 1.5154 2008/12/09 03:12:05 djm Exp $ | 4992 | $Id: ChangeLog,v 1.5155 2008/12/09 03:12:33 djm Exp $ |
4989 | 4993 | ||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.67 2008/07/15 02:23:14 djm Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.68 2008/12/09 03:02:37 djm Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. | 3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -22,7 +22,7 @@ | |||
22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | .\" | 24 | .\" |
25 | .Dd $Mdocdate: July 15 2008 $ | 25 | .Dd $Mdocdate: December 9 2008 $ |
26 | .Dt SFTP 1 | 26 | .Dt SFTP 1 |
27 | .Os | 27 | .Os |
28 | .Sh NAME | 28 | .Sh NAME |
@@ -43,13 +43,12 @@ | |||
43 | .Ar host | 43 | .Ar host |
44 | .Ek | 44 | .Ek |
45 | .Nm sftp | 45 | .Nm sftp |
46 | .Oo Oo Ar user Ns @ Oc Ns | 46 | .Oo Ar user Ns @ Oc Ns |
47 | .Ar host Ns Oo : Ns Ar file Oo | 47 | .Ar host Ns Op : Ns Ar |
48 | .Ar file Oc Oc Oc | ||
49 | .Nm sftp | 48 | .Nm sftp |
50 | .Oo Oo Ar user Ns @ Oc Ns | 49 | .Oo Ar user Ns @ Oc Ns |
51 | .Ar host Ns Oo : Ns Ar dir Ns | 50 | .Ar host Ns Oo : Ns Ar dir Ns |
52 | .Oo Ar / Oc Oc Oc | 51 | .Oo Ar / Oc Oc |
53 | .Nm sftp | 52 | .Nm sftp |
54 | .Fl b Ar batchfile | 53 | .Fl b Ar batchfile |
55 | .Oo Ar user Ns @ Oc Ns Ar host | 54 | .Oo Ar user Ns @ Oc Ns Ar host |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.104 2008/12/09 02:39:59 djm Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.105 2008/12/09 03:04:39 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -1670,8 +1670,8 @@ usage(void) | |||
1670 | "usage: %s [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]\n" | 1670 | "usage: %s [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]\n" |
1671 | " [-o ssh_option] [-P sftp_server_path] [-R num_requests]\n" | 1671 | " [-o ssh_option] [-P sftp_server_path] [-R num_requests]\n" |
1672 | " [-S program] [-s subsystem | sftp_server] host\n" | 1672 | " [-S program] [-s subsystem | sftp_server] host\n" |
1673 | " %s [[user@]host[:file [file]]]\n" | 1673 | " %s [user@]host[:file ...]\n" |
1674 | " %s [[user@]host[:dir[/]]]\n" | 1674 | " %s [user@]host[:dir[/]]\n" |
1675 | " %s -b batchfile [user@]host\n", __progname, __progname, __progname, __progname); | 1675 | " %s -b batchfile [user@]host\n", __progname, __progname, __progname, __progname); |
1676 | exit(1); | 1676 | exit(1); |
1677 | } | 1677 | } |