ssh configuration, nmisunderstanding or error

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


Hi,

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

> Erich Dollansky <erichsfreebsdlist at alogt.com> writes:
> 
> > [erich at X220]/home/erich > ssh -vvv erich at 192.168.0.223
> > 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 *
main

ouitside the jail and

Host *
firefox

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.

Erich


More information about the freebsd-questions mailing list