ssh configuration, nmisunderstanding or error

Erich Dollansky erichsfreebsdlist at
Wed Nov 4 09:15:01 UTC 2015


On Wed, 04 Nov 2015 14:31:02 +0700
Olivier Nicole <Olivier.Nicole at> wrote:

> Erich Dollansky <erichsfreebsdlist at> writes:
> > [erich at X220]/home/erich > ssh -vvv erich at
> > OpenSSH_6.6.1p1, OpenSSL 1.0.1p-freebsd 9 Jul 2015
> > debug1: Reading configuration data /etc/ssh/ssh_config
> > debug1: /etc/ssh/ssh_config line 43: Applying options for *
> > /etc/ssh/ssh_config: line 45: Bad configuration option: main
> > /etc/ssh/ssh_config: terminating, 1 bad configuration options  
> It would help if you provided the contents of /etc/ssh/ssh_config

I forgot to mention that all was commented out with these to exception.
So, effective the file was either:

Host *

ouitside the jail and

Host *

inside the jail.

I just tested again after removed all lines except of above's. I still
get the error messages like this:

/etc/ssh/ssh_config: line 2: Bad configuration option: main

Of course, the line number changed.


More information about the freebsd-questions mailing list