Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ssh 8.2 option "compression" error



On Mon, 2 Mar 2020 at 06:57, Edgar Pettijohn <edgar%pettijohn-web.com@localhost> wrote:
>
>
> On Feb 27, 2020 10:55 PM, Geoff Wing <gcw%pobox.com@localhost> wrote:
> >
> > Hi,
> > I have an error with the new openssh 8.2.  The option "compression" is
> > not being handled properly.
> >
> > I blew away my objdir for crypto/external/bsd/openssh before rebuilding
> > but still getting this error.  Anyone else able to reproduce or maybe
> > something else caused a build error for me?
> >
> > % ssh -F /dev/null -o "compression yes" localhost
> > command-line line 0: unsupported option "yes".
> > %
> >
>
> Shouldn't it be Compression with a big c. Not sure if it matters or not.

Apparently not - if you try the same with 'Compression no' and
'compression no', it works as expected; it you use incorrect option,
you get the proper error message. For whatever reason it recognises
[Cc]ompression option, but not the value of the option:

$ ssh -F /dev/null -o "Compression no" localhost
Password for xci@ymir:$

$ ssh -F /dev/null -o "compression no" localhost
Password for xci@ymir:$

$ ssh -F /dev/null -o "compression yes" localhost
command-line line 0: unsupported option "yes".

$ ssh -F /dev/null -o "Compression yes" localhost
command-line line 0: unsupported option "yes".

$ ssh -F /dev/null -o "Compressionx yes" localhost
command-line: line 0: Bad configuration option: compressionx

$  ssh -F /dev/null -o "Compression x" localhost
command-line line 0: unsupported option "x".     #  same as when 'yes' is used.

Same happens if the option is specified in .ssh/config file, instead
on the command line.


>
> Edgar
> > I didn't check all the options but several others seem to be working OK.
> >
> > Regards,
> > Geoff



-- 
----


Home | Main Index | Thread Index | Old Index