Subject: RE: pkgsrc with Slackware 10
To: Jeremy C. Reed <reed@reedmedia.net>
From: Will Saxon <WillS@housing.ufl.edu>
List: tech-pkg
Date: 11/09/2004 19:47:25
> -----Original Message-----
> From: Jeremy C. Reed [mailto:reed@reedmedia.net]
> Sent: Tuesday, November 09, 2004 7:37 PM
> To: Will Saxon
> Cc: tech-pkg@netbsd.org
> Subject: RE: pkgsrc with Slackware 10
>=20
>=20
> On Tue, 9 Nov 2004, Will Saxon wrote:
>=20
> > I have placed a script of an `ssh -vvv` attempt using the pkgsrc
> > ssh as well as an `sshd -ddde` script for an incoming attempt to
> > the pkgsrc sshd at:
> >
> > http://dhnet.ufl.edu/openssh/ssh and
> > http://dhnet.ufl.edu/openssh/sshd
>=20
> Your logs show:
>=20
>  debug3: check_host_in_hostfile: filename=20
> /usr/local/etc/ssh/ssh_known_hosts
>  debug2: no key of type 0 for host tyr
>  debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts2
>  debug3: check_host_in_hostfile: filename=20
> /usr/local/etc/ssh/ssh_known_hosts2
>  debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
>  debug3: check_host_in_hostfile: filename=20
> /usr/local/etc/ssh/ssh_known_hosts
>  debug2: no key of type 1 for host tyr
>  Host key verification failed.
>=20
> Try moving your known hosts file(s) out of the way first.

These files do not exist/haven't been created yet. This is a brand
new machine, new install of Slackware 10.0, etc.=20

>=20
> Also it seems like "StrictHostKeyChecking ask" is not=20
> working. (Don't use
> an equal =3D sign.)
>=20

I deleted my /root/.ssh/config file and also restored the=20
/usr/local/etc/ssh/ssh_config and /usr/local/etc/ssh/sshd_config
files to their default, unedited versions. So, the defaults are
all supposed to be getting used here.

> By the way, I found a silimar problem in the March 2004=20
> FreeBSD questions
> (and stable) thread "Re: ssh no longer connecting automatically".
>=20

I will read up. Thanks!

I'm thinking it has to be some compiled option in the pkgsrc-compiled
openssh or openssl. When I built openssh 3.9p1 from source and
openssl 0.9.7e from source, I don't have the problem. I have not
had time to go through and check everything, but the only obvious
differences in options are that pkgsrc passes more compiler directives
and sets the tcpwrappers option, whereas compiling straight from source
does not.=20

-Will