From 2fc05d522fa2bf4cab0ebe57bee02093ba6b1382 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 5 Aug 2015 20:41:14 +0200 Subject: 35991: _ssh: add ssh option FingerprintHash Signed-off-by: Christian Hesse --- ChangeLog | 3 +++ Completion/Unix/Command/_ssh | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index c39e3bb3f..337a1f31f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ * unposted: Completion/Unix/Command/_ssh: use -q for the option suffix + * Christian Hesse: 35991: Completion/Unix/Command/_ssh: add ssh + option FingerprintHash + 2015-08-05 Oliver Kiddle * Eric Cook: 35973: Completion/BSD/Command/_systat, diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index fb8fe57b0..b7b7e41dc 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -219,6 +219,10 @@ _ssh () { _message -e 'escape character (or `none'\'')' ret=0 ;; + (#i)fingerprinthash=*) + _values 'fingerprint hash algorithm' \ + md5 ripemd160 sha1 sha256 sha384 sha512 && ret=0 + ;; (#i)forwardx11timeout=*) _message -e 'timeout' ret=0 @@ -408,6 +412,7 @@ _ssh () { EnableSSHKeysign \ EscapeChar \ ExitOnForwardFailure \ + FingerprintHash \ ForwardAgent \ ForwardX11 \ ForwardX11Timeout \ -- cgit 1.4.1