summaryrefslogtreecommitdiff
path: root/ssh-add.1
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-01-20 22:03:29 +0000
committerDamien Miller <djm@mindrot.org>2019-01-21 10:46:04 +1100
commitaa22c20e0c36c2fc610cfcc793b0d14079c38814 (patch)
tree45ca2015c7daa7b8cf7b66fb5f720a5d25109f76 /ssh-add.1
parenta36b0b14a12971086034d53c0c3dfbad07665abe (diff)
upstream: add option to test whether keys in an agent are usable,
by performing a signature and a verification using each key "ssh-add -T pubkey [...]" work by markus@, ok djm@ OpenBSD-Commit-ID: 931b888a600b6a883f65375bd5f73a4776c6d19b
Diffstat (limited to 'ssh-add.1')
-rw-r--r--ssh-add.114
1 files changed, 11 insertions, 3 deletions
diff --git a/ssh-add.1 b/ssh-add.1
index d5da9279c..35ab04426 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-add.1,v 1.66 2017/08/29 13:05:58 jmc Exp $ 1.\" $OpenBSD: ssh-add.1,v 1.67 2019/01/20 22:03:29 djm Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -35,7 +35,7 @@
35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37.\" 37.\"
38.Dd $Mdocdate: August 29 2017 $ 38.Dd $Mdocdate: January 20 2019 $
39.Dt SSH-ADD 1 39.Dt SSH-ADD 1
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -43,7 +43,7 @@
43.Nd adds private key identities to the authentication agent 43.Nd adds private key identities to the authentication agent
44.Sh SYNOPSIS 44.Sh SYNOPSIS
45.Nm ssh-add 45.Nm ssh-add
46.Op Fl cDdkLlqXx 46.Op Fl cDdkLlqTXx
47.Op Fl E Ar fingerprint_hash 47.Op Fl E Ar fingerprint_hash
48.Op Fl t Ar life 48.Op Fl t Ar life
49.Op Ar 49.Op Ar
@@ -51,6 +51,10 @@
51.Fl s Ar pkcs11 51.Fl s Ar pkcs11
52.Nm ssh-add 52.Nm ssh-add
53.Fl e Ar pkcs11 53.Fl e Ar pkcs11
54.Nm ssh-add
55.Fl T
56.Ar pubkey
57.Op Ar ...
54.Sh DESCRIPTION 58.Sh DESCRIPTION
55.Nm 59.Nm
56adds private key identities to the authentication agent, 60adds private key identities to the authentication agent,
@@ -131,6 +135,10 @@ Be quiet after a successful operation.
131.It Fl s Ar pkcs11 135.It Fl s Ar pkcs11
132Add keys provided by the PKCS#11 shared library 136Add keys provided by the PKCS#11 shared library
133.Ar pkcs11 . 137.Ar pkcs11 .
138.It Fl T Ar pubkey Op Ar ...
139Tests whether the private keys that correspond to the specified
140.Ar pubkey
141files are usable by performing sign and verify operations on each.
134.It Fl t Ar life 142.It Fl t Ar life
135Set a maximum lifetime when adding identities to an agent. 143Set a maximum lifetime when adding identities to an agent.
136The lifetime may be specified in seconds or in a time format 144The lifetime may be specified in seconds or in a time format