[ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.c]
     sort synopsis and options in ssh-agent(1); usage is lowercase
     ok jmc@
This commit is contained in:
Damien Miller 2007-09-17 16:05:50 +10:00
parent 67bd062b27
commit 5cbe7ca18d
5 changed files with 25 additions and 21 deletions

View File

@ -33,6 +33,10 @@
that accept a TCP connection but don't progress the protocol, and also that accept a TCP connection but don't progress the protocol, and also
makes ConnectTimeout useful for connections via a ProxyCommand; makes ConnectTimeout useful for connections via a ProxyCommand;
feedback and "looks ok" markus@ feedback and "looks ok" markus@
- sobrado@cvs.openbsd.org 2007/09/09 11:38:01
[ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.c]
sort synopsis and options in ssh-agent(1); usage is lowercase
ok jmc@
20070914 20070914
- (dtucker) [openbsd-compat/bsd-asprintf.c] Plug mem leak in error path. - (dtucker) [openbsd-compat/bsd-asprintf.c] Plug mem leak in error path.
@ -3230,4 +3234,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@ passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4749 2007/09/17 02:06:57 djm Exp $ $Id: ChangeLog,v 1.4750 2007/09/17 06:05:50 djm Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh-add.c,v 1.89 2006/08/03 03:34:42 deraadt Exp $ */ /* $OpenBSD: ssh-add.c,v 1.90 2007/09/09 11:38:01 sobrado Exp $ */
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -309,7 +309,7 @@ do_file(AuthenticationConnection *ac, int deleting, char *file)
static void static void
usage(void) usage(void)
{ {
fprintf(stderr, "Usage: %s [options] [file ...]\n", __progname); fprintf(stderr, "usage: %s [options] [file ...]\n", __progname);
fprintf(stderr, "Options:\n"); fprintf(stderr, "Options:\n");
fprintf(stderr, " -l List fingerprints of all identities.\n"); fprintf(stderr, " -l List fingerprints of all identities.\n");
fprintf(stderr, " -L List public key parameters of all identities.\n"); fprintf(stderr, " -L List public key parameters of all identities.\n");

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-agent.1,v 1.45 2007/05/31 19:20:16 jmc Exp $ .\" $OpenBSD: ssh-agent.1,v 1.46 2007/09/09 11:38:01 sobrado Exp $
.\" .\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi> .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: May 31 2007 $ .Dd $Mdocdate: June 5 2007 $
.Dt SSH-AGENT 1 .Dt SSH-AGENT 1
.Os .Os
.Sh NAME .Sh NAME
@ -42,11 +42,11 @@
.Nd authentication agent .Nd authentication agent
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm ssh-agent .Nm ssh-agent
.Op Fl a Ar bind_address
.Op Fl c Li | Fl s .Op Fl c Li | Fl s
.Op Fl t Ar life
.Op Fl d .Op Fl d
.Op Ar command Op Ar args ... .Op Fl a Ar bind_address
.Op Fl t Ar life
.Op Ar command Op Ar arg ...
.Nm ssh-agent .Nm ssh-agent
.Op Fl c Li | Fl s .Op Fl c Li | Fl s
.Fl k .Fl k
@ -77,16 +77,21 @@ Generate C-shell commands on
This is the default if This is the default if
.Ev SHELL .Ev SHELL
looks like it's a csh style of shell. looks like it's a csh style of shell.
.It Fl d
Debug mode.
When this option is specified
.Nm
will not fork.
.It Fl k
Kill the current agent (given by the
.Ev SSH_AGENT_PID
environment variable).
.It Fl s .It Fl s
Generate Bourne shell commands on Generate Bourne shell commands on
.Dv stdout . .Dv stdout .
This is the default if This is the default if
.Ev SHELL .Ev SHELL
does not look like it's a csh style of shell. does not look like it's a csh style of shell.
.It Fl k
Kill the current agent (given by the
.Ev SSH_AGENT_PID
environment variable).
.It Fl t Ar life .It Fl t Ar life
Set a default value for the maximum lifetime of identities added to the agent. Set a default value for the maximum lifetime of identities added to the agent.
The lifetime may be specified in seconds or in a time format specified in The lifetime may be specified in seconds or in a time format specified in
@ -95,11 +100,6 @@ A lifetime specified for an identity with
.Xr ssh-add 1 .Xr ssh-add 1
overrides this value. overrides this value.
Without this option the default maximum lifetime is forever. Without this option the default maximum lifetime is forever.
.It Fl d
Debug mode.
When this option is specified
.Nm
will not fork.
.El .El
.Pp .Pp
If a commandline is given, this is executed as a subprocess of the agent. If a commandline is given, this is executed as a subprocess of the agent.

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh-agent.c,v 1.155 2007/03/19 12:16:42 dtucker Exp $ */ /* $OpenBSD: ssh-agent.c,v 1.156 2007/09/09 11:38:01 sobrado Exp $ */
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -1016,7 +1016,7 @@ check_parent_exists(void)
static void static void
usage(void) usage(void)
{ {
fprintf(stderr, "Usage: %s [options] [command [args ...]]\n", fprintf(stderr, "usage: %s [options] [command [arg ...]]\n",
__progname); __progname);
fprintf(stderr, "Options:\n"); fprintf(stderr, "Options:\n");
fprintf(stderr, " -c Generate C-shell commands on stdout.\n"); fprintf(stderr, " -c Generate C-shell commands on stdout.\n");

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh-keygen.c,v 1.160 2007/01/21 01:41:54 stevesk Exp $ */ /* $OpenBSD: ssh-keygen.c,v 1.161 2007/09/09 11:38:01 sobrado Exp $ */
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -1006,7 +1006,7 @@ do_change_comment(struct passwd *pw)
static void static void
usage(void) usage(void)
{ {
fprintf(stderr, "Usage: %s [options]\n", __progname); fprintf(stderr, "usage: %s [options]\n", __progname);
fprintf(stderr, "Options:\n"); fprintf(stderr, "Options:\n");
fprintf(stderr, " -a trials Number of trials for screening DH-GEX moduli.\n"); fprintf(stderr, " -a trials Number of trials for screening DH-GEX moduli.\n");
fprintf(stderr, " -B Show bubblebabble digest of key file.\n"); fprintf(stderr, " -B Show bubblebabble digest of key file.\n");