Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 1/1] add ssh option FingerprintHash



From: Christian Hesse <mail@xxxxxxxx>

Signed-off-by: Christian Hesse <mail@xxxxxxxx>
---
 Completion/Unix/Command/_ssh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index fb8fe57..b7b7e41 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 \
-- 
2.5.0



Messages sorted by: Reverse Date, Date, Thread, Author