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

Re: [PATCH 1/1] add ssh option FingerprintHash



On Wed, Aug 5, 2015 at 8:41 PM, Christian Hesse <list@xxxxxxxx> wrote:
> 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

Not sure how I missed that one, thanks. My manpage only lists md5 and
sha256 as options, is it out of date?

-- 
Mikael Magnusson



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