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

Re: [PATCH 1/1] autocompletion: make ssh aware of ed25519

On 2014-01-29 at 17:39 +0100, Axel Beckert wrote:
> On Wed, Jan 29, 2014 at 04:51:18PM +0100, Christian Neukirchen wrote:
> > Perhaps it would be better to parse the output of "ssh -Q cipher" and
> > "ssh -Q key", but "ssh -Q" is not supported by older versions of OpenSSH
> > (neither is ed25519 there...).
> ed25519 is not yet supported by any released version of OpenSSH. It
> will be supported by the upcoming 6.5 release.

This is a suggestion without code/patch to back it up, so my voice
counts for very little, but ...

Perhaps a trade-off which avoids offering unusable completions to older
systems is to code for two modes: "ssh -Q supported" and "ssh -Q not
supported" and to _only_ statically configure in zsh's completion those
completion values which existed _before_ "ssh -Q" was added.  This
provides a finite bound to data-value churn in zsh's completion.


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