Re: [JGIT PATCH] Add tests for handling of parsing errors in OpenSshConfig
- From
Robin Rosenberg <robin.rosenberg@dewire.com>
- Date
- Sep 25, 2008, 11:33 UTC
- Message-ID
- <tQAHDMR4.1222342394.9002900.roro@localhost>
- In-Reply-To
- <20080925083934.GB10273@diku.dk>
Den 9/25/2008, skrev "Jonas Fonseca" <fonseca@diku.dk>:
>Badly quoted entries are now ignored similar to how bad port number are >currently ignored. A check for negative port numbers is now performed >so that they also will be ignored.
Nooo. We should really give some feedback on bad entries. OpenSSH (version 5.1) complains and refuses to connect if I give it a bad port number or hostname. It complains about "missing parameter" and bad port number for these cases. OpenSSH doesn't simply ignore them.
HostName=bad" Port=hubba
Even if openssh would ignore them I'd think it would be bad if we did, unless there was some serious compatibility issue here.
-- robin