diff --git a/ChangeLog b/ChangeLog index 2abea0972..d1505951f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -114,6 +114,9 @@ [authfd.c authfd.h ssh-add.1 ssh-add.c ssh-agent.c] ssh-add -x for lock and -X for unlocking the agent. todo: encrypt private keys with locked... + - markus@cvs.openbsd.org 2002/06/05 20:56:39 + [ssh-add.c] + add -x/-X to usage 20020604 - (stevesk) [channels.c] bug #164 patch from YOSHIFUJI Hideaki (changed @@ -798,4 +801,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2174 2002/06/06 21:52:03 mouring Exp $ +$Id: ChangeLog,v 1.2175 2002/06/06 21:53:11 mouring Exp $ diff --git a/ssh-add.c b/ssh-add.c index ecf4666de..315d94018 100644 --- a/ssh-add.c +++ b/ssh-add.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.54 2002/06/05 19:57:12 markus Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.55 2002/06/05 20:56:39 markus Exp $"); #include @@ -278,6 +278,8 @@ usage(void) fprintf(stderr, " -L List public key parameters of all identities.\n"); fprintf(stderr, " -d Delete identity.\n"); fprintf(stderr, " -D Delete all identities.\n"); + fprintf(stderr, " -x Lock agent.\n"); + fprintf(stderr, " -x Unlock agent.\n"); #ifdef SMARTCARD fprintf(stderr, " -s reader Add key in smartcard reader.\n"); fprintf(stderr, " -e reader Remove key in smartcard reader.\n");