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

Bug#351231: Ignore unknown options



* Justin Pryzby <justinpryzby@users.sourceforge.net> [20060203 16:11]:
> Am 2006-02-03 12:54:31, schrieb martin f krafft:
> > Package: openssh-client
> > Version: 1:4.2p1-5
> > Severity: wishlist
> > 
> > I operate several servers with a variety of SSH versions. I try to
> > keep my ~/.ssh/config file in sync, but it's difficult because e.g.
> > 3.8 barfs when it sees HashKnownHosts.
> > 
> > Couldn't SSH instead of barfing just ignore options it does not
> > recognise?
> I think thats a bad idea; in particular, if there's a typo in my ssh
> config files, I want to know about it.  Perhaps a warning is a fair
> compromise?

I suggest an option to put in your ssh config to ignore certain
unknown keywords, e.g.:

  IgnoreUnknownOption IdentitiesOnly HashKnownHosts

Maybe warn about their usage if -v is given.
Abort for everything else.

Thomas

-- 
Email: thomas@intevation.de
http://intevation.de/~thomas/




Reply to: