summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-add.1
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-01-21 12:53:35 +0000
committerdjm <djm@openbsd.org>2019-01-21 12:53:35 +0000
commit9f07e697fba7725abc814d74c7f6fea1d4b109e1 (patch)
tree92dc7d08874dc422fc5b5aca0fb1d89d2ae14db8 /usr.bin/ssh/ssh-add.1
parentadapt to changes in KEX APIs and file removals (diff)
downloadwireguard-openbsd-9f07e697fba7725abc814d74c7f6fea1d4b109e1.tar.xz
wireguard-openbsd-9f07e697fba7725abc814d74c7f6fea1d4b109e1.zip
add "-v" flags to ssh-add and ssh-pkcs11-helper to turn up debug
verbosity. Make ssh-agent turn on ssh-pkcs11-helper's verbosity when it is run in debug mode ("ssh-agent -d"), so we get to see errors from the PKCS#11 code. ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-add.1')
-rw-r--r--usr.bin/ssh/ssh-add.114
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-add.1 b/usr.bin/ssh/ssh-add.1
index 90826f66739..d4e1c603be6 100644
--- a/usr.bin/ssh/ssh-add.1
+++ b/usr.bin/ssh/ssh-add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ssh-add.1,v 1.68 2019/01/21 07:09:10 jmc Exp $
+.\" $OpenBSD: ssh-add.1,v 1.69 2019/01/21 12:53:35 djm Exp $
.\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -43,7 +43,7 @@
.Nd adds private key identities to the authentication agent
.Sh SYNOPSIS
.Nm ssh-add
-.Op Fl cDdkLlqXx
+.Op Fl cDdkLlqvXx
.Op Fl E Ar fingerprint_hash
.Op Fl t Ar life
.Op Ar
@@ -143,6 +143,16 @@ Set a maximum lifetime when adding identities to an agent.
The lifetime may be specified in seconds or in a time format
specified in
.Xr sshd_config 5 .
+.It Fl v
+Verbose mode.
+Causes
+.Nm
+to print debugging messages about its progress.
+This is helpful in debugging problems.
+Multiple
+.Fl v
+options increase the verbosity.
+The maximum is 3.
.It Fl X
Unlock the agent.
.It Fl x