summaryrefslogtreecommitdiffstats
path: root/ssh-add.1
diff options
context:
space:
mode:
authordlg@openbsd.org <dlg@openbsd.org>2017-08-29 11:42:29 +0200
committerDamien Miller <djm@mindrot.org>2017-09-04 01:38:57 +0200
commit530591a5795a02d01c78877d58604723918aac87 (patch)
treed47ebb52179e01c2e7f6ff29d98632ab85512e1e /ssh-add.1
parentupstream commit (diff)
downloadopenssh-530591a5795a02d01c78877d58604723918aac87.tar.xz
openssh-530591a5795a02d01c78877d58604723918aac87.zip
upstream commit
add a -q option to ssh-add to make it quiet on success. if you want to silence ssh-add without this you generally redirect the output to /dev/null, but that can hide error output which you should see. ok djm@ Upstream-ID: 2f31b9b13f99dcf587e9a8ba443458e6c0d8997c
Diffstat (limited to 'ssh-add.1')
-rw-r--r--ssh-add.18
1 files changed, 5 insertions, 3 deletions
diff --git a/ssh-add.1 b/ssh-add.1
index 509d8fb47..471a23e7c 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ssh-add.1,v 1.64 2017/05/05 10:41:58 naddy Exp $
+.\" $OpenBSD: ssh-add.1,v 1.65 2017/08/29 09:42:29 dlg Exp $
.\"
.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
.\" 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
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 5 2017 $
+.Dd $Mdocdate: August 29 2017 $
.Dt SSH-ADD 1
.Os
.Sh NAME
@@ -43,7 +43,7 @@
.Nd adds private key identities to the authentication agent
.Sh SYNOPSIS
.Nm ssh-add
-.Op Fl cDdkLlXx
+.Op Fl cDdkLlqXx
.Op Fl E Ar fingerprint_hash
.Op Fl t Ar life
.Op Ar
@@ -134,6 +134,8 @@ 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 q
+Be quiet after a successful operation.
.It Fl X
Unlock the agent.
.It Fl x