]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: revert previous: naddy pointed out what's meant to
authorjmc@openbsd.org <jmc@openbsd.org>
Tue, 19 Nov 2019 16:02:32 +0000 (16:02 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 19 Nov 2019 22:27:29 +0000 (09:27 +1100)
happen. rethink needed...

OpenBSD-Commit-ID: fb0fede8123ea7f725fd65e00d49241c40bd3421

ssh-agent.1
ssh-agent.c

index b64868acc2bd081f76c285d8a8b964b732d2aaaf..9129d36ff6ffa3903fc2fb4857dd1af12487f360 100644 (file)
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ssh-agent.1,v 1.66 2019/11/19 14:54:47 jmc Exp $
+.\" $OpenBSD: ssh-agent.1,v 1.67 2019/11/19 16:02:32 jmc Exp $
 .\"
 .\" Author: Tatu Ylonen <ylo@cs.hut.fi>
 .\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
 .Sh SYNOPSIS
 .Nm ssh-agent
 .Op Fl c | s
-.Op Fl Ddk
+.Op Fl \&Dd
 .Op Fl a Ar bind_address
 .Op Fl E Ar fingerprint_hash
 .Op Fl P Ar provider_whitelist
 .Op Fl t Ar life
 .Op Ar command Op Ar arg ...
+.Nm ssh-agent
+.Op Fl c | s
+.Fl k
 .Sh DESCRIPTION
 .Nm
 is a program to hold private keys used for public key authentication
@@ -119,7 +122,6 @@ The default is
 Kill the current agent (given by the
 .Ev SSH_AGENT_PID
 environment variable).
-This option should not be used with any other options.
 .It Fl P Ar provider_whitelist
 Specify a pattern-list of acceptable paths for PKCS#11 and security key shared
 libraries that may be used with the
index 841f3ce74fbb88acf5dd69a469c51b7b0f5205f4..1d4b779f6aa3ba9e3b683ae3ebe99df02201fcf8 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.249 2019/11/19 14:54:47 jmc Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.250 2019/11/19 16:02:32 jmc Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1271,8 +1271,9 @@ static void
 usage(void)
 {
        fprintf(stderr,
-           "usage: ssh-agent [-c | -s] [-Ddk] [-a bind_address] [-E fingerprint_hash]\n"
-           "                 [-P provider_whitelist] [-t life] [command [arg ...]]\n");
+           "usage: ssh-agent [-c | -s] [-Dd] [-a bind_address] [-E fingerprint_hash]\n"
+           "                 [-P provider_whitelist] [-t life] [command [arg ...]]\n"
+           "       ssh-agent [-c | -s] -k\n");
        exit(1);
 }