about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-08-05 20:41:14 +0200
committerMikael Magnusson <mikachu@gmail.com>2015-08-05 23:38:21 +0200
commit2fc05d522fa2bf4cab0ebe57bee02093ba6b1382 (patch)
tree9493ea081f5b7ece81cb3ffa22b0735e390230ea /Completion/Unix
parentfb0b6483a08300e6d72e6079d0e402603f73255d (diff)
downloadzsh-2fc05d522fa2bf4cab0ebe57bee02093ba6b1382.tar.gz
zsh-2fc05d522fa2bf4cab0ebe57bee02093ba6b1382.tar.xz
zsh-2fc05d522fa2bf4cab0ebe57bee02093ba6b1382.zip
35991: _ssh: add ssh option FingerprintHash
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_ssh5
1 files changed, 5 insertions, 0 deletions
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 \