version 1.84, 2022/02/04 02:49:17 |
version 1.85, 2023/12/18 14:46:56 |
|
|
.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 cDdKkLlqvXx |
.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 |
|
|
.Op Ar |
.Op Ar |
.Nm ssh-add |
.Nm ssh-add |
.Fl s Ar pkcs11 |
.Fl s Ar pkcs11 |
|
.Op Fl vC |
|
.Op Ar certificate ... |
.Nm ssh-add |
.Nm ssh-add |
.Fl e Ar pkcs11 |
.Fl e Ar pkcs11 |
.Nm ssh-add |
.Nm ssh-add |
|
|
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 |
|
|
.It Fl s Ar pkcs11 |
.It Fl s Ar pkcs11 |
Add keys provided by the PKCS#11 shared library |
Add keys provided by the PKCS#11 shared library |
.Ar pkcs11 . |
.Ar pkcs11 . |
|
Certificate files may optionally be listed as command-line arguments. |
|
If these are present, then they will be loaded into the agent using any |
|
corresponding private keys loaded from the PKCS#11 token. |
.It Fl T Ar pubkey ... |
.It Fl T Ar pubkey ... |
Tests whether the private keys that correspond to the specified |
Tests whether the private keys that correspond to the specified |
.Ar pubkey |
.Ar pubkey |