about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_ssh5
2 files changed, 8 insertions, 0 deletions
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 <opk@zsh.org>
 
 	* 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 \