mirror of git://anongit.mindrot.org/openssh.git
upstream: sort -C, and add to usage(); ok djm
OpenBSD-Commit-ID: 80141b2a5d60c8593e3c65ca3c53c431262c812f
This commit is contained in:
parent
5413b1c7ff
commit
503fbe9ea2
14
ssh-add.1
14
ssh-add.1
|
@ -1,4 +1,4 @@
|
||||||
.\" $OpenBSD: ssh-add.1,v 1.85 2023/12/18 14:46:56 djm Exp $
|
.\" $OpenBSD: ssh-add.1,v 1.86 2023/12/19 06:57:34 jmc 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
|
||||||
|
@ -35,7 +35,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: December 18 2023 $
|
.Dd $Mdocdate: December 19 2023 $
|
||||||
.Dt SSH-ADD 1
|
.Dt SSH-ADD 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
.Nd adds private key identities to the OpenSSH authentication agent
|
.Nd adds private key identities to the OpenSSH authentication agent
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ssh-add
|
.Nm ssh-add
|
||||||
.Op Fl cCDdKkLlqvXx
|
.Op Fl CcDdKkLlqvXx
|
||||||
.Op Fl E Ar fingerprint_hash
|
.Op Fl E Ar fingerprint_hash
|
||||||
.Op Fl H Ar hostkey_file
|
.Op Fl H Ar hostkey_file
|
||||||
.Op Fl h Ar destination_constraint
|
.Op Fl h Ar destination_constraint
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Nm ssh-add
|
.Nm ssh-add
|
||||||
.Fl s Ar pkcs11
|
.Fl s Ar pkcs11
|
||||||
.Op Fl vC
|
.Op Fl Cv
|
||||||
.Op Ar certificate ...
|
.Op Ar certificate ...
|
||||||
.Nm ssh-add
|
.Nm ssh-add
|
||||||
.Fl e Ar pkcs11
|
.Fl e Ar pkcs11
|
||||||
|
@ -94,6 +94,9 @@ to work.
|
||||||
.Pp
|
.Pp
|
||||||
The options are as follows:
|
The options are as follows:
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
|
.It Fl C
|
||||||
|
When loading keys into or deleting keys from the agent, process
|
||||||
|
certificates only and skip plain keys.
|
||||||
.It Fl c
|
.It Fl c
|
||||||
Indicates that added identities should be subject to confirmation before
|
Indicates that added identities should be subject to confirmation before
|
||||||
being used for authentication.
|
being used for authentication.
|
||||||
|
@ -102,9 +105,6 @@ Confirmation is performed by
|
||||||
Successful confirmation is signaled by a zero exit status from
|
Successful confirmation is signaled by a zero exit status from
|
||||||
.Xr ssh-askpass 1 ,
|
.Xr ssh-askpass 1 ,
|
||||||
rather than text entered into the requester.
|
rather than text entered into the requester.
|
||||||
.It Fl C
|
|
||||||
When loading keys into or deleting keys from the agent, process
|
|
||||||
certificates only and skip plain keys.
|
|
||||||
.It Fl D
|
.It Fl D
|
||||||
Deletes all identities from the agent.
|
Deletes all identities from the agent.
|
||||||
.It Fl d
|
.It Fl d
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: ssh-add.c,v 1.169 2023/12/18 14:46:56 djm Exp $ */
|
/* $OpenBSD: ssh-add.c,v 1.170 2023/12/19 06:57:34 jmc 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
|
||||||
|
@ -790,13 +790,13 @@ static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"usage: ssh-add [-cDdKkLlqvXx] [-E fingerprint_hash] [-H hostkey_file]\n"
|
"usage: ssh-add [-CcDdKkLlqvXx] [-E fingerprint_hash] [-H hostkey_file]\n"
|
||||||
" [-h destination_constraint] [-S provider] [-t life]\n"
|
" [-h destination_constraint] [-S provider] [-t life]\n"
|
||||||
#ifdef WITH_XMSS
|
#ifdef WITH_XMSS
|
||||||
" [-M maxsign] [-m minleft]\n"
|
" [-M maxsign] [-m minleft]\n"
|
||||||
#endif
|
#endif
|
||||||
" [file ...]\n"
|
" [file ...]\n"
|
||||||
" ssh-add -s pkcs11\n"
|
" ssh-add -s pkcs11 [-Cv] [certificate ...]\n"
|
||||||
" ssh-add -e pkcs11\n"
|
" ssh-add -e pkcs11\n"
|
||||||
" ssh-add -T pubkey ...\n"
|
" ssh-add -T pubkey ...\n"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue