On Wed, Apr 10, 2002 at 17:17 +0200, Joerg Ruhe wrote:
The man page and the o'reily book state the order in which configuration data is obtained as : 1. command line options, 2. user's configuration file ($HOME/.ssh/config) 3. system-wide configuration file (/etc/ssh/ssh_config)
and for each parameter the first obtained value will be used. For me that
^^^^^ ^^^^
means, that if I set an parameter in my $HOME/.ssh/config and agin in /etc/ssh/ssh_config the value from the $HOME/.ssh/config will be used.
Right. That's a regular philosophy which generally applies in UNIX systems: The software author suggests some compiled in defaults, the admin may provide a system wide default config for a site, the user is free to customize things for everyday use while still being able to overide settings on the command line for a single invocation. That's accepted and most of all expected behaviour.
My trouble is, I'm observing a differnt behaviour ( as you can see in the log below ): OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Reading configuration data /home/ruhej/.ssh/config debug1: Applying options for *
I cannot see a deviation from the doc here, it's just a different POV: Reading configuration files in the "from general to more specific" order and applying parameters from the command line last will result in the very effect the doc states -- the most specific settings will "win". So where's the problem? Should you not get what you expected from reading the doc please show the /etc and the $HOME config sections and the logs (ssh -v) which prove that the program does otherwise. The cite above doesn't qualify as "behaviour differs from design" but is quite the opposite. :) No matter how it's implemented, you get the promised functionality. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.