Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 1/1] add ssh option FingerprintHash
- X-seq: zsh-workers 36001
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Christian Hesse <list@xxxxxxxx>
- Subject: Re: [PATCH 1/1] add ssh option FingerprintHash
- Date: Wed, 5 Aug 2015 23:37:00 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>, Christian Hesse <mail@xxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LeKDmCWDCvtnMdgXHMJ48q46gPgHASoNt/PFJn5DUQg=; b=su3ulCsQShP+k3g+0zRisePri3es4CrZMjpUzD6TQZtJj1p5OuSPB27bU1Se0K6juk HLWKU+EQmXxd1w2RJMSPdd3OdIfTK487hCnuVmS21QmA4AIWmSuPevkoRrtLtpQ4rEkH pY7v2e4BhgYbb+oL2btNug5HjSk4NqqNjmzPQLU18WQ803nkEDVGQVpTtnX6mlpGzehn piI+V1eyS6RyGF43O27VZgooyy6iWZvFNLPzbApncEkHzMYA5QFXujTOZfHKhgYXMqH2 pkP3sXKbNMvf71B0MHyVl6YdKa+4FIECAzvHygKbMnK9eOVTesGAWRsvormkQLxF5vjy uH5w==
- In-reply-to: <20150805225532.162afb82@leda.localdomain>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1438800074-16795-1-git-send-email-list@eworm.de> <CAHYJk3QF86_VkMGAwePxeQJRw+KG3CtGS3=EktwJDNzcRtzowQ@mail.gmail.com> <20150805225532.162afb82@leda.localdomain>
On Wed, Aug 5, 2015 at 10:55 PM, Christian Hesse <list@xxxxxxxx> wrote:
> Mikael Magnusson <mikachu@xxxxxxxxx> on Wed, 2015/08/05 21:38:
>> 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?
>
> Oh, no... The same here. man ssh_config(5) from OpenSSH 6.9 lists md5 and
> sha256 only.
>
> I looked at the source code to find all possible algorithm. Not sure why...
> Probably because man ssh(1) lists the options, but no possible values.
>
> I've sent a patch to the openssh mailing list [0] to update ssh_config.5.
> Usually some time goes by until you get a response there... Until that
> happens - do we want to match documentation or code?
As long as they options work, we might as well complete them. Thanks
for double checking :).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author