ssh configuration, nmisunderstanding or error
Erich Dollansky
erichsfreebsdlist at alogt.com
Wed Nov 4 07:17:17 UTC 2015
Hi,
I am just setting up FreeBSD on a new hard disk but old machine. I used
for testing always telnet to connect to the different jails. Now, i
switched to ssh and faced this problem.
The machine has the IP address i.e. 192.168.0.223, the jails has the IP
address 192.168.0.18. I have had to realise that the ssh configuration
file when connecting to 192.168.0.18 is taken from 192.168.0.223. This
becomes even more weird as the data is kept on different file systems.
Here the output:
Connecting to the jail:
[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
Connecting to the machine itself:
[erich at X220]/home/erich > ssh -vvv erich at 192.168.0.18
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
[erich at X220]/home/erich >
The configuration files differ only in line 45. For 192.168.0.18
it is 'firefox stuff' while it is 'main' for the configuration file for
192.168.0.223.
What do I do wrong?
Erich
PS
uname -a
FreeBSD X220.alogt.com 10.2-STABLE FreeBSD 10.2-STABLE #0 r290086M: Wed
Nov 4 14:25:32 WITA 2015
erich at X220.alogt.com:/usr/obj/usr/src/sys/X220 amd64
The world in the jail is a copy of above's.
More information about the freebsd-questions
mailing list