[lug] OpenSSH upgrade small issue
John.Hernandez at noaa.gov
Thu Feb 22 11:50:19 MST 2001
Someone already mentioned that you should check your file and directory perms. Another thing that comes to mind is that maybe it's looking for the files in /usr/local/etc/ssh/. Dunno, just a thought. Was it installed from RPM or tarball or?? Try using strace, tee the output to a file, then use grep to see if (where) it's looking for ssh_config.
open("/etc/ssh/ssh_config", O_RDONLY) = 3, or something like that.
> Yes I'm aware of that, but I want to have protocol 1 available in case
> the server I'm connecting to isn't supporting protocol 2 yet. I think I
> mentioned in my original email that I could indeed force protocol 2, it
> just wasn't using protocol 2 when 2,1 was specified in the ssh_config.
> Hence the reason I asked why it appeared that ssh wasn't reading the
> ssh_config on starting the connection.
> > You can force the protocol by putting a line like
> > Protocol 2
> > in your sshd_config and your ssh_config.
> > >From man sshd
> > Protocol
> > Specifies the protocol versions sshd should support. The
> > ble values are ``1'' and ``2''. Multiple versions must be
> > separated. The default is ``1''.
> > >From man ssh:
> > Protocol
> > Specifies the protocol versions ssh should support in order of
> > preference. The possible values are ``1'' and ``2''. Multiple
> > versions must be comma-separated. The default is ``1,2''.
> > means that ssh tries version 1 and falls back to version 2 if
> > version 1 is not available.
> > Hugh
> > > ----------------------------
> > > You can see above that it just uses the ssh protocol 1 by default.
> > > other boxes appear to read the /etc/ssh/ssh_config file before
> > > their connection:
> > >
> > > The boxes are almost identical in configuration. I haven't been
> able to
> > > figure out why the 'naz' host won't automatically try protocol 2.
> > > Anyone have any ideas? TIA.
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> glow at jackmoves.com
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG