1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 22:51:42 +02:00

35991: _ssh: add ssh option FingerprintHash

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse 2015-08-05 20:41:14 +02:00 committed by Mikael Magnusson
parent fb0b6483a0
commit 2fc05d522f
2 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,9 @@
* unposted: Completion/Unix/Command/_ssh: use -q for the * unposted: Completion/Unix/Command/_ssh: use -q for the
option suffix option suffix
* Christian Hesse: 35991: Completion/Unix/Command/_ssh: add ssh
option FingerprintHash
2015-08-05 Oliver Kiddle <opk@zsh.org> 2015-08-05 Oliver Kiddle <opk@zsh.org>
* Eric Cook: 35973: Completion/BSD/Command/_systat, * Eric Cook: 35973: Completion/BSD/Command/_systat,

View file

@ -219,6 +219,10 @@ _ssh () {
_message -e 'escape character (or `none'\'')' _message -e 'escape character (or `none'\'')'
ret=0 ret=0
;; ;;
(#i)fingerprinthash=*)
_values 'fingerprint hash algorithm' \
md5 ripemd160 sha1 sha256 sha384 sha512 && ret=0
;;
(#i)forwardx11timeout=*) (#i)forwardx11timeout=*)
_message -e 'timeout' _message -e 'timeout'
ret=0 ret=0
@ -408,6 +412,7 @@ _ssh () {
EnableSSHKeysign \ EnableSSHKeysign \
EscapeChar \ EscapeChar \
ExitOnForwardFailure \ ExitOnForwardFailure \
FingerprintHash \
ForwardAgent \ ForwardAgent \
ForwardX11 \ ForwardX11 \
ForwardX11Timeout \ ForwardX11Timeout \