summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-add.1
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2020-06-26 05:04:07 +0000
committerdjm <djm@openbsd.org>2020-06-26 05:04:07 +0000
commite6d0367b6ce1d113675dda196fba783f67c767c9 (patch)
treed0a342cc9ca41d8088889afc463941f0e39a95d6 /usr.bin/ssh/ssh-add.1
parentconstify a few things; ok dtucker (as part of another diff) (diff)
downloadwireguard-openbsd-e6d0367b6ce1d113675dda196fba783f67c767c9.tar.xz
wireguard-openbsd-e6d0367b6ce1d113675dda196fba783f67c767c9.zip
allow "ssh-add -d -" to read keys to be deleted from stdin
bz#3180; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh-add.1')
-rw-r--r--usr.bin/ssh/ssh-add.19
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-add.1 b/usr.bin/ssh/ssh-add.1
index 58d42138ed1..f3db1956e1b 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.79 2020/02/07 03:57:31 djm Exp $
+.\" $OpenBSD: ssh-add.1,v 1.80 2020/06/26 05:04:07 djm 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: February 7 2020 $
+.Dd $Mdocdate: June 26 2020 $
.Dt SSH-ADD 1
.Os
.Sh NAME
@@ -113,6 +113,11 @@ If no public key is found at a given path,
will append
.Pa .pub
and retry.
+If the argument list consists of
+.Dq -
+then
+.Nm
+will read public keys to be removed from standard input.
.It Fl E Ar fingerprint_hash
Specifies the hash algorithm used when displaying key fingerprints.
Valid options are: